Skip to content

Commit

Permalink
FIX: BIometrics unlock (#6080)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosrdz committed Feb 3, 2024
1 parent 3270e3d commit 86b603f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnlockWith.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ const UnlockWith = () => {
}

setBiometricType(bt);
if (!biometricType || storageIsEncrypted) {
if (!bt || storageIsEncrypted) {
unlockWithKey();
} else if (typeof biometricType === 'string') unlockWithBiometrics();
} else if (typeof bt === 'string') unlockWithBiometrics();
}
};

Expand Down

0 comments on commit 86b603f

Please sign in to comment.