1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Prevent crash

This commit is contained in:
M66B 2021-09-29 18:52:16 +02:00
parent 20a5550fa6
commit 96f3a539d6

View file

@ -2351,6 +2351,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
private TupleMessageEx getMessage(int pos) {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return null;
if (selectionTracker != null && selectionTracker.hasSelection())
return null;