mirror of
https://github.com/bitwarden/android.git
synced 2026-05-11 02:15:43 -05:00
Fixed incorrect filtering for folders in VaultItemListingDataExtensions (#396)
This commit is contained in:
@@ -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