Prevent NPE

This commit is contained in:
M66B 2023-07-15 07:16:22 +02:00
parent f3f640e0fa
commit 4392200c30
1 changed files with 3 additions and 0 deletions

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