mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Prevent crash
This commit is contained in:
parent
20a5550fa6
commit
96f3a539d6
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue