mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a40aa805ac
commit
c3a8a3893d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue