From 92dd80a816c3efdabfd9aaabb3461d9078b39b5e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 27 Aug 2026 23:37:52 -0700 Subject: The wallet arrives without ceremony: sign-in swaps screens instantly (a one-shot no-anim flag on the handover), and the spending-setup ask holds its tongue until the name restore has settled instead of flashing while the answer is seconds away Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi --- src/features/nostrlogin.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/features/nostrlogin.js') diff --git a/src/features/nostrlogin.js b/src/features/nostrlogin.js index de4269b..dbf2ece 100644 --- a/src/features/nostrlogin.js +++ b/src/features/nostrlogin.js @@ -108,6 +108,7 @@ export function nostrLoginFeature(ctx) { // back into onboarding while ui.onb is set, so clearing it afterwards // re-animated the welcome screen for a beat before the wallet appeared ctx.onbNostrLogin(res.mode === 'restored'); + ui.navAnimSkip = true; // the handover swaps instantly, no fade await ctx.openMnemonic(res.mnemonic, res.passphrase || '', { nostrPubkey: signer.pubkey }); save({ ...load(), pubkey: signer.pubkey, linked: Date.now(), ...sessionOf(signer) }); attaching = false; @@ -131,6 +132,7 @@ export function nostrLoginFeature(ctx) { attaching = true; live = selfHealing(st.signer); ctx.onbNostrLogin(!!existing); // before the screen flips — see loginWith + ui.navAnimSkip = true; // the handover swaps instantly, no fade await ctx.openMnemonic(mnemonic, (existing && existing.passphrase) || '', { nostrPubkey: st.signer.pubkey }); save({ ...load(), pubkey: st.signer.pubkey, linked: Date.now(), ...sessionOf(st.signer) }); attaching = false; -- cgit v1.2.3