Prevent crash

pull/145/head
M66B 6 years ago
parent a224aa54c6
commit 4bb611ec60

@ -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…
Cancel
Save