mirror of https://github.com/M66B/FairEmail.git
Prevent NPE
This commit is contained in:
parent
f3f640e0fa
commit
4392200c30
|
@ -7325,6 +7325,9 @@ public class FragmentMessages extends FragmentBase
|
|||
}
|
||||
|
||||
private void updateCompose() {
|
||||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
return;
|
||||
|
||||
if (!accessibility &&
|
||||
(viewType == AdapterMessage.ViewType.UNIFIED ||
|
||||
viewType == AdapterMessage.ViewType.FOLDER))
|
||||
|
|
Loading…
Reference in New Issue