From ad8c8a076cca261ed3de4b8cdc90484ab618da49 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 18:55:59 -0700 Subject: History detail: show the zap recipient chip there too Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/features/ark.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/features') diff --git a/src/features/ark.js b/src/features/ark.js index c81faa5..1b4f155 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -791,6 +791,15 @@ export function arkFeature(ctx) { h('div', { class: incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px' }, (incoming ? '+' : '-') + fmtAmount(m.amountSat) + ' ' + unitLabel()), row(t('dateLabel'), new Date(m.ts).toLocaleString()), + (() => { + const pk = zapNoteFor(m); + const chip = pk ? ctx.hook('profileChip', pk) : null; + return chip + ? h('div', { class: 'row between', style: 'gap:12px;align-items:center' }, + h('span', { class: 'small muted' }, t('recipient')), + chip) + : null; + })(), m.to ? row(t('arkPayTo'), shortAddr(m.to, 16, 12)) : null, m.vtxoId ? row(t('arkVtxoId'), shortTxid(m.vtxoId)) : null, m.detail ? row(t('detailsLabel'), m.detail) : null, -- cgit v1.2.3