Update UnlockWith.js

This commit is contained in:
Marcos Rodriguez 2019-09-27 20:22:45 -04:00
parent 211842746e
commit 1c81ff9e1e

View file

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