aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 17:42:08 -0700
committerAdam Soltys <[email protected]>2026-08-02 17:42:08 -0700
commit630773717478456879831abecb441e04e5426caf (patch)
treeac96dc650befb3e7b1a7b3ee0a2e8b9d8a177847 /tools
parentb869eefac239a47d33260e53edbd7497dc023759 (diff)
downloadcoinosv3-630773717478456879831abecb441e04e5426caf.tar.gz
coinosv3-630773717478456879831abecb441e04e5426caf.zip
One global account: you're in Spending or Savings everywhere
The balance card's label becomes a Spending/Savings toggle and the selection is app-wide state (persisted per device): the headline shows the selected balance with the other quiet below, Receive shows the payment address in Spending and a fresh on-chain address in Savings (the per-page dropdown and its iconSelect widget are gone), and a gift's source follows the account instead of its own toggle. Wallets without Ark see the old single-balance card. Send stays destination-driven — an invoice pays from Spending, an address from Savings, as before. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'tools')
-rw-r--r--tools/features-smoke-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/features-smoke-test.js b/tools/features-smoke-test.js
index 3bc7324..7798657 100644
--- a/tools/features-smoke-test.js
+++ b/tools/features-smoke-test.js
@@ -43,7 +43,7 @@ const wallet = {
const ctx = {
h: (tag, attrs, ...kids) => ({ tag, attrs, kids }),
ui: {}, render: () => {}, wallet,
- hook: () => null, openMnemonic: async () => {},
+ hook: () => null, getAccount: () => 'savings', openMnemonic: async () => {},
fmtAmount: String, unitLabel: () => 'sats', unitTag: () => 'sats', getUnit: () => 'sats',
parseAmount: (v) => parseInt(v, 10) || 0,
copyBtn: () => null, pasteBtn: () => null, toast: () => {}, blankSend: () => ({}),