mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 03:21:36 +00:00
Prevent crash
This commit is contained in:
parent
ab988e4d6a
commit
3058a143da
1 changed files with 3 additions and 0 deletions
|
@ -7244,6 +7244,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return true;
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean collapse_multiple = prefs.getBoolean("collapse_multiple", true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue