Fix crash when leaving groups during account deletion.

This commit is contained in:
Alex Hart authored and Cody Henthorne committed 2021-12-09 14:58:08 -05:00
1 parent 3d77ce0d57
commit 39f4ca10ef
1 file changed
+1 -1
@@ -301,7 +301,7 @@ public class DeleteAccountFragment extends Fragment {
}
private void ensureDeletionProgressDialog() {
if (deletionProgressDialog != null) {
if (deletionProgressDialog == null) {
deletionProgressDialog = DeleteAccountProgressDialog.show(requireContext());
}
}