Prevent crash

pull/184/head
M66B 5 years ago
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…
Cancel
Save