From 630773717478456879831abecb441e04e5426caf Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 17:42:08 -0700 Subject: One global account: you're in Spending or Savings everywhere MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- tools/features-smoke-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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: () => ({}), -- cgit v1.2.3