1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 23:12:55 +00:00

Prevent NPE

This commit is contained in:
M66B 2023-07-15 07:16:22 +02:00
parent f3f640e0fa
commit 4392200c30

View file

@ -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))