From f9bd28e2a03aa0874ea0416dfac9293bec4c4456 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 12:37:15 -0700 Subject: First run: a new wallet is offered a Spending account before the home screen, Not now one tap away. The wizard's spend step (claim a name, get a payment address) now follows the seed screen and the sign-in backup screen, wherever Spending can be set up (Ark-capable network with the names registrar, a signing account). Not now lands on Savings like before. namesAvailable answers 'yes'/'no' rather than a boolean, which featureHook would read as no answer. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/features/names.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/features') diff --git a/src/features/names.js b/src/features/names.js index f05ac09..dd6f700 100644 --- a/src/features/names.js +++ b/src/features/names.js @@ -895,6 +895,9 @@ export function namesFeature(ctx) { // 'pending' while the restore/claim pass is still running — the wallet // screen holds spending-setup prompts until the name question is settled. namesSettled() { return checked ? 'yes' : 'pending'; }, + // the wizard offers Spending only where a name can be claimed — a word, + // not a boolean: featureHook reads a false answer as no answer at all + namesAvailable() { return available() ? 'yes' : 'no'; }, // A seed minted seconds ago has nothing to restore anywhere: don't make // the spending-setup ask wait out registrar round trips that only exist // for wallets with a history. The background claim still runs. -- cgit v1.2.3