aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 23:00:10 -0700
committerAdam Soltys <[email protected]>2026-08-17 23:00:10 -0700
commit0d63ae440f4296fcf44e818dca989ff7b135de74 (patch)
treefbd551d36438d806914366447c7656875730ac14 /src
parentda19674251babc5fbe90bdd75febc4aefaf13e9d (diff)
downloadcoinosv3-0d63ae440f4296fcf44e818dca989ff7b135de74.tar.gz
coinosv3-0d63ae440f4296fcf44e818dca989ff7b135de74.zip
The savings-only card offers the door: Set up a spending account sits right on the balance instead of hiding behind a face you can't swipe to
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src')
-rw-r--r--src/app.js7
-rw-r--r--src/i18n.js2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index 62acdbe..6f87821 100644
--- a/src/app.js
+++ b/src/app.js
@@ -3145,8 +3145,11 @@ function balanceCard() {
// pointless (and confusing) while there's only one.
...(hasSpending ? featureAll('balanceActions') : []).map((a2) =>
h('button', { class: 'btn-sm', style: 'margin-top:10px', onClick: a2.onClick }, a2.label)),
- (ui.account === 'spending' || (kindLocked && acc0.kind === 'spending')) && !hasSpending
- && featureHook('arkReady') && !wallet.watchOnly
+ // A seed with only a Savings side is one tap from growing a Spending one:
+ // the offer sits right on the balance card, not hidden behind Add wallet.
+ // (Single-purpose Savings wallets keep their purpose — Add wallet covers
+ // them; watch-only can't spend at all.)
+ !hasSpending && !kindLocked && featureHook('arkReady') && !wallet.watchOnly && acc0 && acc0.type === 'full'
? h('button', { class: 'btn-sm', style: 'margin-top:10px', onClick: () => { ui.onbError = ''; ui.onb = { step: 'spend' }; render(); } }, t('spendSetup'))
: null,
// A feature can unfold UI right on the card (ark's inline move panel).
diff --git a/src/i18n.js b/src/i18n.js
index a0357ab..95d54fb 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -612,7 +612,7 @@ const STR = {
onbDoneTitle: "You're all set!",
onbDoneBody: 'Your spending account is set up — your address is live and the coinos community chat is waiting for you.',
onbEnter: 'Enter coinos',
- spendSetup: 'Set up Spending',
+ spendSetup: 'Set up a spending account',
nlConnectApp: '📱 Connect a signer app',
nlOpenSigner: 'Open signer app',
nlWaitingSigner: 'Waiting for your signer to connect…',