From 324df53df5afd1fe8bd1b152c98e974379627d59 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Wed, 12 Dec 2018 16:20:35 +0100 Subject: [PATCH] Fix a crash that occurred when trying to load the group list too early --- app/src/main/java/me/impy/aegis/ui/MainActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/me/impy/aegis/ui/MainActivity.java b/app/src/main/java/me/impy/aegis/ui/MainActivity.java index 94002efb..c4b4a885 100644 --- a/app/src/main/java/me/impy/aegis/ui/MainActivity.java +++ b/app/src/main/java/me/impy/aegis/ui/MainActivity.java @@ -379,7 +379,9 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene _menu = menu; getMenuInflater().inflate(R.menu.menu_main, menu); updateLockIcon(); - updateGroupFilterMenu(); + if (_loaded) { + updateGroupFilterMenu(); + } return true; }