mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Prevent NPE
This commit is contained in:
parent
f3f640e0fa
commit
4392200c30
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue