mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Fixed rare crash
This commit is contained in:
parent
a22fcc9064
commit
906381dde5
1 changed files with 2 additions and 1 deletions
|
@ -2735,7 +2735,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
|
|
||||||
private void check() {
|
private void check() {
|
||||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||||
adapter.checkInternet();
|
if (!rvMessage.isComputingLayout())
|
||||||
|
adapter.checkInternet();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue