mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 19:43:11 +02:00
prevent crash
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user