From 3a0e45efce65c368dcb38e8f92a250379fc0e39a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 18 Aug 2026 00:02:52 -0700 Subject: Money finds its way to Spending: the setup wizard ends with a top-up step when Savings can fund one, and a low Spending face wears a one-tap Top up from Savings button Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz --- src/features/ark.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/features') diff --git a/src/features/ark.js b/src/features/ark.js index 223fe3e..cdac6c4 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -2133,6 +2133,12 @@ export function arkFeature(ctx) { canLnPay() { return arkAvailable() && !wallet.watchOnly && !!(ark && ark.info); }, lnSpendableSat() { const b = arkBalance(); return b ? b.spendableSat : 0; }, settingsCards() { return [autoWithdrawCard()]; }, + // The onboarding wizard's top-up step borrows the board form wholesale. + arkBoardForm() { + if (!arkAvailable() || wallet.watchOnly) return null; + if (!ark) { connectArk().catch(() => {}); return null; } + return boardForm(); + }, // A payment wants more Spending than exists: open the board panel with a // prefill that nets out to the need (gross of the board fee, with a bit // of routing headroom) — editable, so boarding extra is one keystroke. -- cgit v1.2.3