From b655d1f3e021f03a94792e48123351ef2690c8e5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 5 Sep 2026 21:02:41 -0700 Subject: The POS-link card's LNURL copy button copies a lightning: URI (lowercase bech32 with the prefix) — tappable and pasteable anywhere that registers the scheme, including our own Android app — while the QR keeps the bare uppercase form for alphanumeric-mode density MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz --- src/features/names.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/features/names.js') diff --git a/src/features/names.js b/src/features/names.js index 3a8a14e..c8a2b1d 100644 --- a/src/features/names.js +++ b/src/features/names.js @@ -485,7 +485,9 @@ export function namesFeature(ctx) { h('div', { style: 'align-self:center;max-width:220px', html: qrSvg(lnurl, { ec: 'L', mode: 'Alphanumeric' }) }), h('div', { class: 'addr-box break', style: 'font-size:10px' }, lnurl), h('div', { class: 'row gap6', style: 'flex-wrap:wrap' }, - copyBtn(lnurl, t('namesPosCopyLnurl')), + // copied as a lightning: URI so it's tappable/pasteable anywhere; + // the QR stays bare uppercase for alphanumeric-mode density + copyBtn('lightning:' + lnurl.toLowerCase(), t('namesPosCopyLnurl')), copyBtn(link, t('namesPosCopyLink')))); } -- cgit v1.2.3