From 1c81ff9e1ef0ac945cb72ef282ef9512d1ec0836 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Date: Fri, 27 Sep 2019 20:22:45 -0400 Subject: [PATCH] Update UnlockWith.js --- UnlockWith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnlockWith.js b/UnlockWith.js index 406035b8b..34e36c31f 100644 --- a/UnlockWith.js +++ b/UnlockWith.js @@ -22,7 +22,7 @@ export default class UnlockWith extends Component { if (!biometricType) { await BlueApp.startAndDecrypt(); this.props.onSuccessfullyAuthenticated(); - } else if (biometricType !== false && !isStorageEncrypted) this.unlockWithBiometrics(); + } else if (!isStorageEncrypted && typeof biometricType === 'string') this.unlockWithBiometrics(); }); }