1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Prevent crash

This commit is contained in:
M66B 2022-02-16 13:13:05 +01:00
parent fe6f6145ab
commit 176edb0c57

View file

@ -6741,6 +6741,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void run() {
try {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
adapter.notifyDataSetChanged();
} catch (Throwable ex) {
Log.e(ex);