mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Fix NullPointerException when deleting tokens
This commit is contained in:
parent
52e4c5cd51
commit
554d7e17be
1 changed files with 4 additions and 2 deletions
|
@ -369,8 +369,10 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
||||||
Dialogs.showDeleteEntryDialog(this, (d, which) -> {
|
Dialogs.showDeleteEntryDialog(this, (d, which) -> {
|
||||||
deleteEntry(entry);
|
deleteEntry(entry);
|
||||||
// update the filter list if the group no longer exists
|
// update the filter list if the group no longer exists
|
||||||
if (!_db.getGroups().contains(entry.getGroup())) {
|
if (entry.getGroup() != null) {
|
||||||
updateGroupFilterMenu();
|
if (!_db.getGroups().contains(entry.getGroup())) {
|
||||||
|
updateGroupFilterMenu();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue