fix: number of entries in group did not immediately update when adding entries

This commit is contained in:
Philipp Crocoll
2025-01-14 15:29:22 +01:00
parent 81b48a3ac2
commit 090bc6249a

View File

@@ -90,10 +90,15 @@ namespace keepass2android
// Mark parent group dirty
_app.DirtyGroups.Add(parent);
// even mark the parent of the parent dirty to update the views showing the number of child entries
if (parent?.ParentGroup != null)
{
_app.DirtyGroups.Add(parent.ParentGroup);
}
} else
} else
{
StatusLogger.UpdateMessage(UiStringKey.UndoingChanges);
//TODO test fail