feat(wallet-setup): primary Spark mode + More-options accordion#570
Open
dmnyc wants to merge 1 commit into
Open
feat(wallet-setup): primary Spark mode + More-options accordion#570dmnyc wants to merge 1 commit into
dmnyc wants to merge 1 commit into
Conversation
Ports iOS commit barrydeen#3 from feat/one-tap-zap. Two-screen reshape that makes the obvious next step visually obvious. Mode picker (Screen 1): • Spark row is now a full-bleed orange card with white text + icon, layered shadow glow (two stacked shadows in `WispThemeColors.zapColor` — wide outer + tighter inner — for the iOS bloom). • NWC keeps its dark surface-variant peer treatment. Not buried under "More options" per spec — it's a genuine alternative. Spark sub-screen (Screen 2): • "Use my default wallet" gets the same primary treatment (orange fill + glow stack) so the nsec-derived recovery path reads as the obvious first choice. • Create new / Restore from seed phrase / Restore from relays collapse under a "More options" disclosure with a chevron that rotates 0→180° via animateFloatAsState. Expand defaults to open if there's no default-wallet option visible (so users who can't derive still see all paths immediately). • AnimatedVisibility wraps the inner Column for the expand/collapse transition (expandVertically + fadeIn / shrinkVertically + fadeOut), matching the iOS "fade rows in/out" cue. Extracted as `WalletPrimaryRow`, shared by both screens. Vertical-centering of the pick stack (iOS spec calls out a GeometryReader-backed ScrollView) isn't implemented here — the existing Spark sub-screen already uses weighted spacers within a non-scrolling Column, which centers naturally when content fits the viewport; smaller phones fall back to scroll via the parent's verticalScroll.
This was referenced May 26, 2026
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First in a series of slim carve-outs from #556 (closing soon). Pure UI / no behavioural change — just makes the obvious next step visually obvious. Ports iOS commit #3 from
feat/one-tap-zap.What changes
Mode picker (screen 1):
WispThemeColors.zapColor— wide outer + tighter inner — for the iOS bloom)Spark sub-screen (screen 2):
animateFloatAsState. Expand defaults to open if there's no default-wallet option visible (so users who can't derive still see all paths immediately)AnimatedVisibilitywraps the inner column for the expand/collapse transition (expandVertically + fadeIn / shrinkVertically + fadeOut), matching the iOS "fade rows in/out" cueScope
One file:
app/src/main/kotlin/com/wisp/app/ui/screen/WalletScreen.kt(+148 / -26).Test plan
Carve-out context
Replaces the equivalent work in #556. Other slim PRs follow for the remaining concerns: