diff --git a/src/composables/accounts.ts b/src/composables/accounts.ts index accba67eb..b76c3f088 100644 --- a/src/composables/accounts.ts +++ b/src/composables/accounts.ts @@ -13,6 +13,7 @@ import type { import { ACCOUNT_TYPES, ACCOUNT_TYPES_LIST, + IS_MOBILE_APP, MODAL_PROTOCOL_SELECT, PROTOCOL_LIST, PROTOCOLS, @@ -81,6 +82,10 @@ export const useAccounts = createCustomScopedComposable(() => { enableSecureStorage: true, onRestored: () => { arePrivateKeysAccountsEncryptedRestored.value = true; + // On mobile private keys account are decrypted, they are stored in the secure storage + if (IS_MOBILE_APP) { + arePrivateKeysAccountsDecrypted.value = true; + } }, }, );