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

This commit is contained in:
David Perez authored and GitHub committed 2024-10-22 22:12:36 +00:00
1 parent 65380095f0
commit fca00d38f5
1 file changed
+1 -2
@@ -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 &&