mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
3383b73a90
commit
488fac7e09
|
@ -3710,7 +3710,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
}
|
||||
|
||||
private void onMenuFolders(long account) {
|
||||
if (isDetached())
|
||||
if (!isAdded())
|
||||
return;
|
||||
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
|
|
Loading…
Reference in New Issue