[PM-27589] [PM-27158] fix : Sub folders always show 0 items (#6092)

This commit is contained in:
Dev Sharma 2025-10-29 21:24:15 +05:30 committed by GitHub
parent 2ad3014da2
commit 6f27642a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,8 @@ fun VaultData.toViewState(
VaultItemListingState.FolderDisplayItem(
id = requireNotNull(folderView.id),
name = folderView.name,
count = allFilteredCipherViewList
count = decryptCipherListResult
.successes
.count {
it.deletedDate == null &&
!it.id.isNullOrBlank() &&