mirror of
https://github.com/bitwarden/android.git
synced 2026-05-06 07:48:22 -05:00
[PM-25640] Dialog flickers when switching accounts (#5865)
This commit is contained in:
@@ -913,7 +913,9 @@ class VaultViewModel @Inject constructor(
|
||||
|
||||
updateVaultState(
|
||||
vaultData = vaultData.data,
|
||||
dialog = if (shouldShowDecryptionAlert) {
|
||||
dialog = if (shouldShowDecryptionAlert ||
|
||||
state.dialog is VaultState.DialogState.VaultLoadCipherDecryptionError
|
||||
) {
|
||||
VaultState.DialogState.VaultLoadCipherDecryptionError(
|
||||
title = BitwardenString.decryption_error.asText(),
|
||||
cipherCount = vaultData.data.decryptCipherListResult.failures.size,
|
||||
|
||||
Reference in New Issue
Block a user