Skip to content

Commit 098fc75

Browse files
committed
add success toast for biometric unlock
1 parent 4745674 commit 098fc75

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

apps/browser/src/_locales/en/messages.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5062,6 +5062,9 @@
50625062
"unlockPinSet": {
50635063
"message": "Unlock PIN set"
50645064
},
5065+
"unlockBiometricSet": {
5066+
"message": "Unlock biometrics set"
5067+
},
50655068
"authenticating": {
50665069
"message": "Authenticating"
50675070
},

apps/browser/src/auth/popup/settings/account-security.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,11 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
532532
if (!successful) {
533533
await this.biometricStateService.setFingerprintValidated(false);
534534
}
535+
this.toastService.showToast({
536+
variant: "success",
537+
title: null,
538+
message: this.i18nService.t("unlockBiometricSet"),
539+
});
535540
} catch (error) {
536541
this.form.controls.biometric.setValue(false);
537542
this.validationService.showError(error);

0 commit comments

Comments
 (0)