mirror of
https://github.com/bitwarden/android.git
synced 2026-05-11 02:15:43 -05:00
[PM-11304] Lint
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user