mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Update app-storage.js
This commit is contained in:
parent
26b351b498
commit
f0e17c8e38
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,8 @@ export class AppStorage {
|
|||
this.wallets = decryptedParsed.wallets;
|
||||
this.tx_metadata = decryptedParsed.tx_metadata;
|
||||
this.cachedPassword = undefined;
|
||||
await RNSecureKeyStore.set(AppStorage.FLAG_ENCRYPTED, '', { accessible: ACCESSIBLE.WHEN_UNLOCKED });
|
||||
await RNSecureKeyStore.set('deleteWalletAfterUninstall', '1', { accessible: ACCESSIBLE.WHEN_UNLOCKED });
|
||||
await this.setItem(AppStorage.FLAG_ENCRYPTED, '', { accessible: ACCESSIBLE.WHEN_UNLOCKED });
|
||||
await this.setItem('deleteWalletAfterUninstall', '1', { accessible: ACCESSIBLE.WHEN_UNLOCKED });
|
||||
return this.saveToDisk();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue