aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-22 11:36:06 -0700
committerAdam Soltys <[email protected]>2026-09-22 11:36:06 -0700
commit0cf1f6095e76825c9b8af5be03006218688f1f83 (patch)
treec5dbb6289a13070d8399df7934e1c92639d6146e /src/features
parentec76ba47da8ed4b5c46fa09822655ac29a81d300 (diff)
downloadcoinosv3-0cf1f6095e76825c9b8af5be03006218688f1f83.tar.gz
coinosv3-0cf1f6095e76825c9b8af5be03006218688f1f83.zip
Payment detail: the unit is the tap-to-toggle tag; tests enter through the wizard's import line.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src/features')
-rw-r--r--src/features/ark.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index ab7f28d..00dc132 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -1447,8 +1447,8 @@ export function arkFeature(ctx) {
m.type === 'refresh'
? h('div', { class: m.feeSat > 0 ? 'amount-neg' : 'small faint', style: 'font-size:20px' },
m.feeSat > 0 ? '-' + fmtAmount(m.feeSat) + ' ' + unitLabel() : t('arkDepthFree'))
- : h('div', { class: failed ? 'muted' : incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px' },
- (failed ? '' : incoming ? '+' : '-') + fmtAmount(m.amountSat, m.ts / 1000) + ' ' + unitLabel()),
+ : h('div', { class: failed ? 'muted' : incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px;display:flex;align-items:baseline;gap:6px' },
+ (failed ? '' : incoming ? '+' : '-') + fmtAmount(m.amountSat, m.ts / 1000), unitTag()), // the unit toggles, as on the balance
row(t('dateLabel'), new Date(m.ts).toLocaleString()),
ctx.worthLine ? ctx.worthLine(m.amountSat, m.ts / 1000, row) : null,
// a feature that knows more about this movement (the till: bill and tip)