mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
Update EncryptStorage.tsx
This commit is contained in:
parent
da56b468bb
commit
04269e365f
@ -12,6 +12,7 @@ import PromptPasswordConfirmationModal, {
|
||||
MODAL_TYPES,
|
||||
PromptPasswordConfirmationModalHandle,
|
||||
} from '../../components/PromptPasswordConfirmationModal';
|
||||
import { popToTop } from '../../NavigationService';
|
||||
|
||||
enum ActionType {
|
||||
SetLoading = 'SET_LOADING',
|
||||
@ -217,6 +218,7 @@ const EncryptStorage = () => {
|
||||
try {
|
||||
await decryptStorage(password);
|
||||
await saveToDisk();
|
||||
popToTop();
|
||||
success = true;
|
||||
} catch (error) {
|
||||
success = false;
|
||||
|
Loading…
Reference in New Issue
Block a user