diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 12:37:15 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 12:37:15 -0700 |
| commit | f9bd28e2a03aa0874ea0416dfac9293bec4c4456 (patch) | |
| tree | 20837205743f54af6b51784d5f33d891714356cd /src/features | |
| parent | ceb3d142c36d9db1f3346f4aa7979f6732ba5d88 (diff) | |
| download | coinosv3-f9bd28e2a03aa0874ea0416dfac9293bec4c4456.tar.gz coinosv3-f9bd28e2a03aa0874ea0416dfac9293bec4c4456.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src/features')
| -rw-r--r-- | src/features/names.js | 3 |
1 files changed, 3 insertions, 0 deletions
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. |
