PM-13024: After saving cipher in totp flow, app should not close (#4137)

This commit is contained in:
David Perez 2024-10-22 17:12:36 -05:00 committed by GitHub
parent 65380095f0
commit fca00d38f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,8 +124,7 @@ class VaultAddEditViewModel @Inject constructor(
// Exit on save if handling an autofill, Fido2 Attestation, or TOTP link
val shouldExitOnSave = autofillSaveItem != null ||
fido2AttestationOptions != null ||
totpData != null
fido2AttestationOptions != null
val dialogState = if (!settingsRepository.initialAutofillDialogShown &&
vaultAddEditType is VaultAddEditType.AddItem &&