mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
d4b48bceda
commit
e2febdf1d4
|
@ -5336,11 +5336,15 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
view.post(new Runnable() {
|
view.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (selectionTracker == null)
|
try {
|
||||||
return;
|
if (selectionTracker == null)
|
||||||
selectionTracker.clearSelection();
|
return;
|
||||||
for (long id : ids)
|
selectionTracker.clearSelection();
|
||||||
selectionTracker.select(id);
|
for (long id : ids)
|
||||||
|
selectionTracker.select(id);
|
||||||
|
} catch (Throwable ex) {
|
||||||
|
Log.e(ex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue