mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Prevent crash
This commit is contained in:
@@ -4432,6 +4432,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
Context context = getContext();
|
||||
if (context == null)
|
||||
return false;
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
|
||||
return false;
|
||||
|
||||
boolean up = (event.getAction() == ACTION_UP);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user