diff options
| author | Adam Soltys <[email protected]> | 2026-06-29 08:33:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-29 08:33:46 -0700 |
| commit | f0ae92e90a44e7d394aa57d55e23d988e8f201bd (patch) | |
| tree | fcf8b4bd5a02e5caf4c1061ad4f8a4a54b553b5d /src/app.js | |
| parent | 2f9e573101b9e0e31ee3cae3245fa3a59db3e0b0 (diff) | |
| download | coinosv3-f0ae92e90a44e7d394aa57d55e23d988e8f201bd.tar.gz coinosv3-f0ae92e90a44e7d394aa57d55e23d988e8f201bd.zip | |
Receive: drop the dropdown label, rename 'Address' → 'Bitcoin address'
The 'Receive over' label was redundant above a self-explanatory dropdown; remove
it (and the now-unused i18n key). Rename the first option to 'Bitcoin address' so
it's clear alongside Lightning and Silent payment.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2673,10 +2673,8 @@ function receiveTab() { if (canLn) opts.push(['ln', t('receiveLnTab')]); if (spAddr) opts.push(['sp', t('receiveSpTab')]); const seg = opts.length > 1 - ? h('label', { class: 'field', style: 'width:100%' }, - h('span', { class: 'lab' }, t('receiveOver')), - h('select', { onChange: (e) => { ui.receiveType = e.target.value; render(); } }, - opts.map(([id, label]) => h('option', { value: id, selected: mode === id }, label)))) + ? h('select', { style: 'width:100%', onChange: (e) => { ui.receiveType = e.target.value; render(); } }, + opts.map(([id, label]) => h('option', { value: id, selected: mode === id }, label))) : null; if (mode === 'ln') { return h('div', { class: 'card col', style: 'align-items:center;gap:14px' }, seg, ...lnReceiveContent()); |
