mirror of https://github.com/M66B/FairEmail.git
Fixed rare crash
This commit is contained in:
parent
a22fcc9064
commit
906381dde5
|
@ -2735,7 +2735,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
private void check() {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
adapter.checkInternet();
|
||||
if (!rvMessage.isComputingLayout())
|
||||
adapter.checkInternet();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue