mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Prevent crash
This commit is contained in:
@@ -1730,6 +1730,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
values.get(name).remove(id);
|
||||
|
||||
if ("selected".equals(name) && enabled) {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
final List<Integer> changed = new ArrayList<>();
|
||||
|
||||
int pos = adapter.getPositionForKey(id);
|
||||
|
||||
Reference in New Issue
Block a user