1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 23:33:34 +00:00

Exclude deleted items from folder counts (#1555)

This commit is contained in:
Jake Fink
2021-10-04 08:33:23 -04:00
committed by GitHub
parent a9a4fa56c1
commit c0783cd162

View File

@@ -485,6 +485,11 @@ namespace Bit.App.Pages
} }
} }
if (c.IsDeleted)
{
continue;
}
var fId = c.FolderId ?? "none"; var fId = c.FolderId ?? "none";
if (_folderCounts.ContainsKey(fId)) if (_folderCounts.ContainsKey(fId))
{ {