Browse Source

FIX: Set isLoading to false when biometrics unlock fails

visualfix
Marcos Rodriguez 5 years ago
committed by Overtorment
parent
commit
3678c376a6
  1. 1
      UnlockWith.js
  2. 1
      screen/send/confirm.js

1
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();
}

1
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;
}
}

Loading…
Cancel
Save