mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Merge pull request #6605 from BlueWallet/one
REF: Value should be reset to false in case of keychain wipe
This commit is contained in:
commit
fdc65bdd95
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ const UnlockWith: React.FC = () => {
|
|||
const { setWalletsInitialized, isStorageEncrypted, startAndDecrypt } = useStorage();
|
||||
const { deviceBiometricType, unlockWithBiometrics, isBiometricUseCapableAndEnabled, isBiometricUseEnabled } = useBiometrics();
|
||||
|
||||
useEffect(() => {
|
||||
setWalletsInitialized(false);
|
||||
}, [setWalletsInitialized]);
|
||||
|
||||
const successfullyAuthenticated = useCallback(() => {
|
||||
setWalletsInitialized(true);
|
||||
isUnlockingWallets.current = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue