Skip to content

Commit

Permalink
Merge pull request #3422 from superhero-com/feature/fix-private-key-a…
Browse files Browse the repository at this point in the history
…ccount-import

fix: be able to import private key account on mobile app
  • Loading branch information
CedrikNikita authored Nov 22, 2024
2 parents 94351ac + 80dd57f commit 20d4f02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,10 @@ export function decryptedComputed(
}
}, { immediate: true });

if (IS_MOBILE_APP) {
options.onDecrypted?.(encryptedState.value);
}

return (IS_MOBILE_APP)
? encryptedState // On mobile devices we are not encrypting states
: computed<string>({
Expand Down

0 comments on commit 20d4f02

Please sign in to comment.