mirror of
https://github.com/bitwarden/android.git
synced 2026-03-21 22:00:42 -05:00
PM-18421 Remove adding a folder option from within folder view. (#4747)
This commit is contained in:
@@ -610,7 +610,10 @@ class VaultItemListingViewModel @Inject constructor(
|
||||
mutableStateFlow.update {
|
||||
it.copy(
|
||||
dialogState = VaultItemListingState.DialogState.VaultItemTypeSelection(
|
||||
excludedOptions = persistentListOfNotNull(CreateVaultItemType.SSH_KEY),
|
||||
excludedOptions = persistentListOfNotNull(
|
||||
CreateVaultItemType.SSH_KEY,
|
||||
CreateVaultItemType.FOLDER,
|
||||
),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2160,7 +2160,10 @@ class VaultItemListingScreenTest : BaseComposeTest() {
|
||||
mutableStateFlow.update {
|
||||
it.copy(
|
||||
dialogState = VaultItemListingState.DialogState.VaultItemTypeSelection(
|
||||
excludedOptions = persistentListOf(CreateVaultItemType.SSH_KEY),
|
||||
excludedOptions = persistentListOf(
|
||||
CreateVaultItemType.SSH_KEY,
|
||||
CreateVaultItemType.FOLDER,
|
||||
),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -979,7 +979,10 @@ class VaultItemListingViewModelTest : BaseViewModelTest() {
|
||||
folderId = "id",
|
||||
),
|
||||
dialogState = VaultItemListingState.DialogState.VaultItemTypeSelection(
|
||||
excludedOptions = persistentListOf(CreateVaultItemType.SSH_KEY),
|
||||
excludedOptions = persistentListOf(
|
||||
CreateVaultItemType.SSH_KEY,
|
||||
CreateVaultItemType.FOLDER,
|
||||
),
|
||||
),
|
||||
),
|
||||
viewModel.stateFlow.value,
|
||||
|
||||
Reference in New Issue
Block a user