From db438d1d6feb6edccf782e0e22793cf8e4602cb1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 16 Jun 2026 00:06:09 -0700 Subject: Add "Payment received!" celebration on the Receive tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a deposit lands on the shown address, the Receive tab now shows a "Payment received!" dialog (with the amount and a green check) and waits for a tap before revealing the next address/QR — instead of silently swapping it. Tracks the acknowledged fresh index so only payments that arrive while watching trigger it. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/style.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 160cca2..ed1d542 100644 --- a/src/style.css +++ b/src/style.css @@ -208,6 +208,11 @@ textarea { resize: vertical; min-height: 84px; font-family: var(--mono); font-si .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .words .w.masked .t { color: var(--faint); letter-spacing: 2px; } +.check-badge { + width: 64px; height: 64px; border-radius: 50%; flex: none; + background: var(--green-soft); color: var(--green); + display: grid; place-items: center; font-size: 34px; font-weight: 700; +} .footer { margin-top: 28px; padding-bottom: 8px; } .footer a { color: var(--accent-ink); font-weight: 600; } -- cgit v1.2.3