Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Resolve biometric error dissapearing before being read (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Sep 28, 2021
1 parent 206ef61 commit 91b73fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion angular/src/components/lock.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class LockComponent implements OnInit {
}
}

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

return success;
}

togglePassword() {
Expand Down

0 comments on commit 91b73fa

Please sign in to comment.