mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Prevent crash
This commit is contained in:
parent
d7039673be
commit
2712c36b50
1 changed files with 3 additions and 0 deletions
|
@ -9290,6 +9290,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
if (owner.getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
if (owner.getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||||
manager.popBackStack("search", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
manager.popBackStack("search", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||||
|
|
||||||
|
if (manager.isDestroyed())
|
||||||
|
return;
|
||||||
|
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putLong("account", account);
|
args.putLong("account", account);
|
||||||
args.putLong("folder", folder);
|
args.putLong("folder", folder);
|
||||||
|
|
Loading…
Reference in a new issue