mirror of https://github.com/M66B/FairEmail.git
prevent crash
This commit is contained in:
parent
f7d8ad3253
commit
19ef07ecb4
|
@ -3853,6 +3853,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
Context context = getContext();
|
||||
if (context == null)
|
||||
return;
|
||||
if (getView() == null)
|
||||
return;
|
||||
if (!getViewLifecycleOwner().getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue