mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +03:00
parent
b8b9cf2950
commit
947eec9348
1 changed files with 4 additions and 6 deletions
|
@ -136,12 +136,10 @@ fun VaultAddEditState.ViewState.appendFolderAndOwnerData(
|
|||
availableFolders = folderViewList.toAvailableFolders(
|
||||
resourceManager = resourceManager,
|
||||
),
|
||||
selectedOwnerId = activeAccount.toSelectedOwnerId(
|
||||
cipherView = currentContentState.common.originalCipher,
|
||||
)
|
||||
?: collectionViewList.firstOrNull {
|
||||
it.id == currentContentState.common.selectedCollectionId
|
||||
}
|
||||
selectedOwnerId = activeAccount
|
||||
.toSelectedOwnerId(cipherView = currentContentState.common.originalCipher)
|
||||
?: collectionViewList
|
||||
.firstOrNull { it.id == currentContentState.common.selectedCollectionId }
|
||||
?.organizationId,
|
||||
availableOwners = activeAccount.toAvailableOwners(
|
||||
collectionViewList = collectionViewList,
|
||||
|
|
Loading…
Add table
Reference in a new issue