mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 09:56:45 -06:00
[PM-25640] Dialog flickers when switching accounts (#5865)
This commit is contained in:
parent
ef39ea6d5d
commit
417a1494e3
@ -913,7 +913,9 @@ class VaultViewModel @Inject constructor(
|
|||||||
|
|
||||||
updateVaultState(
|
updateVaultState(
|
||||||
vaultData = vaultData.data,
|
vaultData = vaultData.data,
|
||||||
dialog = if (shouldShowDecryptionAlert) {
|
dialog = if (shouldShowDecryptionAlert ||
|
||||||
|
state.dialog is VaultState.DialogState.VaultLoadCipherDecryptionError
|
||||||
|
) {
|
||||||
VaultState.DialogState.VaultLoadCipherDecryptionError(
|
VaultState.DialogState.VaultLoadCipherDecryptionError(
|
||||||
title = BitwardenString.decryption_error.asText(),
|
title = BitwardenString.decryption_error.asText(),
|
||||||
cipherCount = vaultData.data.decryptCipherListResult.failures.size,
|
cipherCount = vaultData.data.decryptCipherListResult.failures.size,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user