Merge pull request #2746 from PhilippC/bugfix/refresh-number-of-entries-in-group

fix: number of entries in group did not immediately update
This commit is contained in:
PhilippC
2025-01-14 16:49:54 +01:00
committed by GitHub

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