From f0ae92e90a44e7d394aa57d55e23d988e8f201bd Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 29 Jun 2026 08:33:46 -0700 Subject: Receive: drop the dropdown label, rename 'Address' → 'Bitcoin address' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- src/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 7d4dad7..20487ef 100644 --- a/src/app.js +++ b/src/app.js @@ -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()); -- cgit v1.2.3