Files
amethyst/amethyst
Claude e4b0d80e5c ui(cashu): wallet polish — discard invoice, tile alignment, history rows
Three small UI fixes on the Cashu wallet screen:

- Add a Discard button to the Receive dialog. When the user requested an
  invoice they no longer want (typo'd amount, wrong mint, changed their
  mind), tap Discard to NIP-09-delete the kind:7374 mint quote so the
  pending-quote banner stops re-surfacing it.

- Stop the action-row labels from clipping. The previous
  OutlinedButton-per-tile layout, with 4 tiles in a row plus default
  24dp horizontal padding and a 20dp icon, clipped "Send Token" on
  standard 360dp phones. Replaced with a custom Surface+Column tile that
  gives us control over padding and lets the label wrap to 2 lines.

- Render history rows like the LN + on-chain transaction lists:
  counterparty avatar on the left, name + timestamp in the middle,
  signed amount on the right. For inbound nutzap redemptions we resolve
  the sender's pubkey from the redeemed-marker `e` tag (the kind:9321
  is in LocalCache thanks to the cashu filter assembler). For
  everything else there's no Nostr counterparty, so we fall back to a
  directional arrow icon matching the LN wallet's empty-counterparty
  pattern.

https://claude.ai/code/session_01MdWddiar819f8XYt5N8BjP
2026-05-27 15:17:42 +00:00
..