aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-05 21:02:41 -0700
committerAdam Soltys <[email protected]>2026-09-05 21:02:41 -0700
commitb655d1f3e021f03a94792e48123351ef2690c8e5 (patch)
tree17e3e4211f23b31fd20fe0b914e1d8c80d8178b7
parentb6f620d97507dcbf5526c61e13675c74776df15d (diff)
downloadcoinosv3-b655d1f3e021f03a94792e48123351ef2690c8e5.tar.gz
coinosv3-b655d1f3e021f03a94792e48123351ef2690c8e5.zip
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
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz
-rw-r--r--src/features/names.js4
1 files changed, 3 insertions, 1 deletions
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'))));
}