mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
bb2dac7b66
commit
b7e7c8e988
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue