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
1 changed files with 3 additions and 1 deletions

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() {