Fixed rare crash

This commit is contained in:
M66B 2020-01-02 20:06:19 +01:00
parent a22fcc9064
commit 906381dde5
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
};