1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

Resolve biometric error dissapearing before being read (#501)

This commit is contained in:
Oscar Hinton 2021-09-28 16:23:25 +02:00 committed by GitHub
parent 206ef610d0
commit 91b73fa777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ export class LockComponent implements OnInit {
} }
} }
async unlockBiometric() { async unlockBiometric(): Promise<boolean> {
if (!this.biometricLock) { if (!this.biometricLock) {
return; return;
} }
@ -166,6 +166,8 @@ export class LockComponent implements OnInit {
if (success) { if (success) {
await this.doContinue(); await this.doContinue();
} }
return success;
} }
togglePassword() { togglePassword() {