1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

Update badge after biometric unlock

This commit is contained in:
Bernd Schoolmann
2025-01-13 18:13:23 +01:00
parent a7c749759b
commit c4c6c9784f

View File

@@ -95,6 +95,7 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
await this.biometricStateService.setBiometricUnlockEnabled(true);
await this.biometricStateService.setFingerprintValidated(true);
this.keyService.setUserKey(userKey, userId);
await BrowserApi.sendMessage("updateBadge");
return response.userKeyB64;
}
} else {
@@ -112,6 +113,7 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
await this.biometricStateService.setBiometricUnlockEnabled(true);
await this.biometricStateService.setFingerprintValidated(true);
this.keyService.setUserKey(userKey, userId);
await BrowserApi.sendMessage("updateBadge");
return response.userKeyB64;
}
} else {