Fixed rare crash

pull/172/head
M66B 6 years ago
parent a22fcc9064
commit 906381dde5

@ -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…
Cancel
Save