mirror of
https://github.com/bitwarden/android.git
synced 2025-03-16 11:18:45 +03:00
[PM-11304] Lint
This commit is contained in:
parent
0387f0b10a
commit
a0e3ae0cc2
1 changed files with 4 additions and 6 deletions
|
@ -134,12 +134,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