diff options
| author | Adam Soltys <[email protected]> | 2026-08-17 23:00:10 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-17 23:00:10 -0700 |
| commit | 0d63ae440f4296fcf44e818dca989ff7b135de74 (patch) | |
| tree | fbd551d36438d806914366447c7656875730ac14 /src/app.js | |
| parent | da19674251babc5fbe90bdd75febc4aefaf13e9d (diff) | |
| download | coinosv3-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/app.js')
| -rw-r--r-- | src/app.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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). |
