Fixed rare crash

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

@ -2735,6 +2735,7 @@ 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))
if (!rvMessage.isComputingLayout())
adapter.checkInternet(); adapter.checkInternet();
} }
}; };

Loading…
Cancel
Save