mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Prevent crash
This commit is contained in:
parent
a224aa54c6
commit
4bb611ec60
1 changed files with 16 additions and 15 deletions
|
@ -514,6 +514,7 @@ public class FragmentCompose extends FragmentEx {
|
|||
}
|
||||
|
||||
private void handleExit() {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
|
||||
new DialogBuilderLifecycle(getContext(), getViewLifecycleOwner())
|
||||
.setMessage(R.string.title_ask_delete)
|
||||
.setPositiveButton(R.string.title_yes, new DialogInterface.OnClickListener() {
|
||||
|
|
Loading…
Reference in a new issue