aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 24cc56c..cfd2f49 100644
--- a/src/app.js
+++ b/src/app.js
@@ -3614,6 +3614,7 @@ const ctx = {
// build without the target feature simply gets null back
hook: (name, ...args) => featureHook(name, ...args),
getAccount: () => accountSel(),
+ setAccount: (a, dir) => setAccountSel(a, dir),
// Open (or create) a wallet from a mnemonic — used by nostr login.
openMnemonic: async (mnemonic, passphrase, opts) => enterWallet(mnemonic, passphrase, opts),
// A nostr login that lands mid-wizard: a restored wallet has been through