From 3678c376a62c062ac33d0f964f6a99fede4186fa Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Date: Sat, 28 Dec 2019 13:42:59 -0600 Subject: [PATCH] FIX: Set isLoading to false when biometrics unlock fails --- UnlockWith.js | 1 + screen/send/confirm.js | 1 + 2 files changed, 2 insertions(+) diff --git a/UnlockWith.js b/UnlockWith.js index ffcca7ca..3ffed8c8 100644 --- a/UnlockWith.js +++ b/UnlockWith.js @@ -34,6 +34,7 @@ export default class UnlockWith extends Component { } this.setState({ isAuthenticating: true }, async () => { if (await Biometric.unlockWithBiometrics()) { + this.setState({ isAuthenticating: false }); await BlueApp.startAndDecrypt(); return this.props.onSuccessfullyAuthenticated(); } diff --git a/screen/send/confirm.js b/screen/send/confirm.js index 3a22ff9f..f34b3049 100644 --- a/screen/send/confirm.js +++ b/screen/send/confirm.js @@ -52,6 +52,7 @@ export default class Confirm extends Component { if (this.isBiometricUseCapableAndEnabled) { if (!(await Biometric.unlockWithBiometrics())) { + this.setState({ isLoading: false }); return; } }