diff options
| author | Adam Soltys <[email protected]> | 2026-08-18 00:02:52 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-18 00:02:52 -0700 |
| commit | 3a0e45efce65c368dcb38e8f92a250379fc0e39a (patch) | |
| tree | 7b60265034b35f2e013a75e7ce334ca7ab13e611 /src/features | |
| parent | 828d3b7fb6644a56938820693e8253148113fb77 (diff) | |
| download | coinosv3-3a0e45efce65c368dcb38e8f92a250379fc0e39a.tar.gz coinosv3-3a0e45efce65c368dcb38e8f92a250379fc0e39a.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src/features')
| -rw-r--r-- | src/features/ark.js | 6 |
1 files changed, 6 insertions, 0 deletions
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. |
