Merge pull request #7423 from BlueWallet/marcosrdz-patch-3

Update UnlockWith.tsx
This commit is contained in:
GLaDOS 2024-12-23 10:35:50 +00:00 committed by GitHub
commit 6550e955f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ const UnlockWith: React.FC = () => {
if (storageIsEncrypted) {
dispatch({ type: SET_AUTH, payload: { type: AuthType.Encrypted, detail: undefined } });
unlockWithKey();
} else if (biometricUseCapableAndEnabled) {
} else if (biometricUseCapableAndEnabled && biometricType) {
dispatch({ type: SET_AUTH, payload: { type: AuthType.Biometrics, detail: biometricType } });
unlockUsingBiometrics();
} else if (biometricsUseEnabled && biometricType === undefined) {