prevent crash

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