From 91b73fa77727a12c788c00eef4f32065c23b6314 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 28 Sep 2021 16:23:25 +0200 Subject: [PATCH] Resolve biometric error dissapearing before being read (#501) --- angular/src/components/lock.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/angular/src/components/lock.component.ts b/angular/src/components/lock.component.ts index 9802244ab2..a488d97ee1 100644 --- a/angular/src/components/lock.component.ts +++ b/angular/src/components/lock.component.ts @@ -156,7 +156,7 @@ export class LockComponent implements OnInit { } } - async unlockBiometric() { + async unlockBiometric(): Promise { if (!this.biometricLock) { return; } @@ -166,6 +166,8 @@ export class LockComponent implements OnInit { if (success) { await this.doContinue(); } + + return success; } togglePassword() {