diff options
| author | Adam Soltys <[email protected]> | 2026-07-06 08:09:57 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-06 08:09:57 -0700 |
| commit | 45a4a9d5cec8eafc7e98ebd7ca2a9790c0ee94b4 (patch) | |
| tree | f50350fc32126bb93a42a733b24da32fc131f205 /src/features/swaps.js | |
| parent | 60f267c5c8b240dbb80f6d567cf2801579b85585 (diff) | |
| download | coinosv3-45a4a9d5cec8eafc7e98ebd7ca2a9790c0ee94b4.tar.gz coinosv3-45a4a9d5cec8eafc7e98ebd7ca2a9790c0ee94b4.zip | |
Icons in the receive selector and on silent-payment history rows
The receive address-type picker was a native <select>, which can't
render SVG in <option>s. Replace it with a lightweight custom dropdown
(icon-select) that shows a glyph per rail — ₿ Bitcoin, ⚡ Lightning,
the Second mark for Ark, 🕶️ Silent payment — closing on select or an
outside tap. Receive modes gained an icon field; the address option is
built in app.js. Silent-payment receipts (which merge into history as
on-chain-looking rows) now get a rail glyph + SP tag via a
decorateTxRow so they're distinguishable, matching how ark/gift rows
already decorate.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/features/swaps.js')
| -rw-r--r-- | src/features/swaps.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/swaps.js b/src/features/swaps.js index b41b87a..2ff43ed 100644 --- a/src/features/swaps.js +++ b/src/features/swaps.js @@ -186,7 +186,7 @@ export function swapsFeature(ctx) { // a reverse swap needs our keys to claim on-chain if (wallet.watchOnly) return []; return [{ - id: 'ln', label: t('receiveLnTab'), + id: 'ln', label: t('receiveLnTab'), icon: '⚡', render: (seg) => h('div', { class: 'card col', style: 'align-items:center;gap:14px' }, seg, ...lnReceiveContent()), }]; }, |
