1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 21:24:34 +00:00

Prevent crash

This commit is contained in:
M66B 2023-01-16 19:23:38 +01:00
parent bb2dac7b66
commit b7e7c8e988

View file

@ -177,6 +177,15 @@ public class FragmentDialogBase extends DialogFragment {
}
}
@Override
public void dismiss() {
try {
super.dismiss();
} catch (Throwable ex) {
Log.e(ex);
}
}
@Override
public void onDismiss(@NonNull DialogInterface dialog) {
sendResult(RESULT_CANCELED);