mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Prevent crash
This commit is contained in:
parent
2165f062b2
commit
db0fc6d49e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue