Fixed crash

pull/172/head
M66B 6 years ago
parent e9c8f0c1b4
commit 34fb50a87d

@ -2740,7 +2740,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override @Override
public void run() { public void run() {
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
adapter.checkInternet(); if (!rvMessage.isComputingLayout())
adapter.checkInternet();
} }
}); });
} }

Loading…
Cancel
Save