From dd748ba8f4cb2d45389e9996eefb59a5a0b1b9c9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 6 Jul 2026 09:07:24 -0700 Subject: History: Bitcoin logo for on-chain rows instead of up/down arrows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plain on-chain sends/receives fell through to ↓/↑ arrows in the row circle; now they show the Bitcoin mark like the other rails (ark/sp/ gift). Direction stays legible via the green/red circle tint and the signed amount. Consistent icon column across every payment type. Co-Authored-By: Claude Fable 5 --- src/app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/app.js b/src/app.js index 2b25381..547cc65 100644 --- a/src/app.js +++ b/src/app.js @@ -2773,7 +2773,12 @@ function txHistoryItem(tx) { return h( 'div', { class: 'item', style: 'cursor:pointer', onClick: () => openTx(tx.txid) }, - h('div', { class: `ico ${incoming ? 'in' : 'out'}` }, deco ? deco.icon : incoming ? '↓' : '↑'), + // rail glyph in the direction-tinted circle: feature decoration (ark/sp/ + // gift) if any, else the Bitcoin mark for a plain on-chain tx. Direction + // is carried by the tint + signed amount. + deco + ? h('div', { class: `ico ${incoming ? 'in' : 'out'}` }, deco.icon) + : h('div', { class: `ico ${incoming ? 'in' : 'out'}`, html: BITCOIN_ICON(22) }), h('div', { class: 'grow' }, h('div', { class: 'row gap6' }, deco ? deco.label : -- cgit v1.2.3