mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
Adds Android-Studio-visible previews for the recently-authored composables on the Cashu wallet stack, so designers / reviewers can eyeball them without building and launching the app. All previews use the existing ThemeComparisonColumn helper to render dark + light side by side, matching the convention used by SensitivityWarning and the other existing preview files. CashuWalletSettingsScreen: - SettingsRow (with + without subtitle) - EmptyRecommendationsHint - AddRecommendationRow (empty + typing state) - RecommendationSuggestionList - RecommendationRow (plain + with review text) AddCashuWalletScreen: - MintSuggestionList (multi + single) For RecommendationRow a tiny `fakeRecommendation` helper builds a synthetic kind:38000 with stable tag layout (d / k / u) so the preview exercises the same `mintUrls()` + `dTag()` paths the real renderer uses without touching the signer. Skipped: top-level screen composables (CashuWalletSettingsScreen, CashuWalletScreen, AddCashuWalletScreen) — those take AccountViewModel / CashuWalletViewModel / INav, which can't be cheaply faked. Anyone who needs to see them previewed should iterate on the smaller sub- composables included here. https://claude.ai/code/session_01MdWddiar819f8XYt5N8BjP