feat: improve Zap Settings UI with sections, chips, and animations
- Organize zap settings into three clear sections with primary-colored headers: Quick Zap Amounts, Zap Privacy, and Nostr Wallet Connect - Replace plain Buttons with InputChip for amount selection — each chip shows a lightning bolt, the amount, and a close icon to remove it - Add animateContentSize() to the chips FlowRow so adding/removing amounts animates smoothly - Add descriptive sub-text under each section header explaining what the control does - NWC section: show an animated "Connected / Not Connected" status badge (green CheckCircle vs grey RadioButtonUnchecked) that cross-fades via AnimatedContent when the connection state changes - NWC section: add animateColorAsState for the status color transition - Replace the bare icon-only Add button with an OutlinedButton labelled "Connect Wallet" for better discoverability - Move the manual pubkey/relay/secret fields into a collapsible "Advanced" row animated with AnimatedVisibility (expandVertically + fadeIn/fadeOut). The section auto-expands when a connection already exists or when a QR/clipboard import populates the pubkey field - Add 9 new string resources for the new UI copy https://claude.ai/code/session_01QzBq319fsxhrT91bGxws6N
This commit is contained in:
@@ -454,6 +454,14 @@
|
||||
<string name="wallet_connect_service_secret">Wallet Connect Secret</string>
|
||||
<string name="wallet_connect_service_show_secret">Show secret key</string>
|
||||
<string name="wallet_connect_service_secret_placeholder">nsec / hex private key</string>
|
||||
<string name="wallet_connect_status_connected">Connected</string>
|
||||
<string name="wallet_connect_status_not_connected">Not connected</string>
|
||||
<string name="wallet_connect_manual_config">Advanced: enter connection details manually</string>
|
||||
<string name="quick_zap_amounts">Quick Zap Amounts</string>
|
||||
<string name="quick_zap_amounts_explainer">Shown when long-pressing the zap button. Tap an amount to remove it.</string>
|
||||
<string name="zap_privacy_section">Zap Privacy</string>
|
||||
<string name="zap_type_section_explainer">Controls how your identity is shown when you send a zap.</string>
|
||||
<string name="wallet_connect_connect_app">Connect Wallet</string>
|
||||
|
||||
<string name="pledge_amount_in_sats">Pledge Amount in Sats</string>
|
||||
<string name="post_poll">Post Poll</string>
|
||||
|
||||
Reference in New Issue
Block a user