mirror of
https://github.com/bitwarden/android.git
synced 2026-06-19 12:12:04 -05:00
Fixed incorrect filtering for folders in VaultItemListingDataExtensions (#396)
This commit is contained in:
committed by
Álison Fernandes
parent
a8005c15f1
commit
1400da08f4
@@ -57,7 +57,10 @@ fun VaultItemListingState.ItemListingType.updateWithAdditionalDataIfNecessary(
|
||||
when (this) {
|
||||
is VaultItemListingState.ItemListingType.Card -> this
|
||||
is VaultItemListingState.ItemListingType.Folder -> copy(
|
||||
folderName = folderList.first { it.id == folderId }.name,
|
||||
folderName = folderList
|
||||
.find { it.id == folderId }
|
||||
?.name
|
||||
.orEmpty(),
|
||||
)
|
||||
|
||||
is VaultItemListingState.ItemListingType.Identity -> this
|
||||
|
||||
Reference in New Issue
Block a user