Prevent crash

This commit is contained in:
M66B 2022-04-17 18:52:04 +02:00
parent a40aa805ac
commit c3a8a3893d
1 changed files with 3 additions and 0 deletions

View File

@ -6164,6 +6164,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
private void updateExpanded() {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
int expanded = (values.containsKey("expanded") ? values.get("expanded").size() : 0);
if (scrolling && !accessibility)
fabReply.hide();