Skip to content

feat: coin stack icon for zaps in fiat mode#494

Merged
barrydeen merged 3 commits intobarrydeen:mainfrom
dmnyc:feat/fiat-mode-coin-stack-icon
May 4, 2026
Merged

feat: coin stack icon for zaps in fiat mode#494
barrydeen merged 3 commits intobarrydeen:mainfrom
dmnyc:feat/fiat-mode-coin-stack-icon

Conversation

@dmnyc
Copy link
Copy Markdown
Contributor

@dmnyc dmnyc commented Apr 23, 2026

Summary

  • Adds a new coin stack vector drawable (ic_coin_stack.xml) used as the zap icon when fiat mode is active
  • Replaces bolt/bitcoin icon with coin stack on PostCard zap displays and ActionBar zap button in fiat mode
  • Swaps the drawer wallet menu item to the wallet icon (AccountBalanceWallet) in fiat mode
  • Adds isFiatMode() composable helper in ZapIconHelper.kt
  • Fixes pre-existing corrupted Box import in WispDrawerContent.kt

Screenshots

Fiat zaps icon
moneyicon

Sidebar menu icon
sidemenu

Test plan

  • Enable fiat mode in settings, verify coin stack icon appears on note zap counts
  • Verify coin stack icon on action bar zap button in fiat mode
  • Verify wallet icon in drawer menu in fiat mode
  • Disable fiat mode, verify bolt/bitcoin icons restore based on user preference

@dmnyc dmnyc force-pushed the feat/fiat-mode-coin-stack-icon branch from 6077979 to a8aef2b Compare April 23, 2026 17:06
dmnyc added 3 commits April 25, 2026 14:40
Replace the bolt/bitcoin icon with a coin stack icon on note zap
displays and the action bar zap button when fiat mode is active.
Also swap the drawer wallet menu item to the wallet icon in fiat mode.
Fixes corrupted Box import in WispDrawerContent.
… bar text wrapping

Show coin stack icon in fiat mode for notifications (filter header,
per-zap icon, DM zap, summary stat), reaction details zap row, and
embedded invoices. Add maxLines=1 to all ActionBar count/amount text
to prevent vertical wrapping in tight layouts.
Add quoteDepth parameter to RichContent, QuotedNote, PostCard, and
GalleryCard. At depth >= 1 (already inside a quote), force compact
preview rendering (avatar + name + snippet) instead of full PostCard
with action bar. Prevents recursive nesting from crushing layouts.
@dmnyc dmnyc force-pushed the feat/fiat-mode-coin-stack-icon branch from a8aef2b to 77a5182 Compare April 26, 2026 03:59
@barrydeen barrydeen merged commit b6105eb into barrydeen:main May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants