aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-06 09:07:24 -0700
committerAdam Soltys <[email protected]>2026-07-06 09:07:24 -0700
commitdd748ba8f4cb2d45389e9996eefb59a5a0b1b9c9 (patch)
tree74f787abd1ca9de58ef90fa9b327cdfe69bc6e86
parentce7d50d9c87b790ff8f17d986024c1c99a7889a2 (diff)
downloadcoinosv3-dd748ba8f4cb2d45389e9996eefb59a5a0b1b9c9.tar.gz
coinosv3-dd748ba8f4cb2d45389e9996eefb59a5a0b1b9c9.zip
History: Bitcoin logo for on-chain rows instead of up/down arrows
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 <[email protected]>
-rw-r--r--src/app.js7
1 files changed, 6 insertions, 1 deletions
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 :