1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00: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

View File

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