From 5dde6632470c479b4c1edb7a1477c18c6f997855 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 25 Jun 2026 13:35:51 -0700 Subject: Remove the Live/Polling badge; shorten explorer link to 'Block explorer' Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 9c9c22a..64cbebd 100644 --- a/src/app.js +++ b/src/app.js @@ -1652,14 +1652,7 @@ function balanceCard() { return h( 'div', { class: 'card balance' }, - h('div', { class: 'row between', style: 'align-items:center' }, - h('div', { class: 'small faint', style: 'text-transform:uppercase;letter-spacing:.05em' }, t('balance')), - // Live = receiving instant WebSocket pushes; otherwise we're polling, so - // deposits can lag a few seconds. Surfaced so a stuck socket is visible. - wallet.offline ? null - : h('span', { class: 'badge ' + (wallet.live ? 'live' : 'off') + ' dot', style: 'font-size:11px;padding:2px 8px' }, - wallet.live ? t('liveTag') : t('pollingTag')) - ), + h('div', { class: 'small faint', style: 'text-transform:uppercase;letter-spacing:.05em' }, t('balance')), // Headline is the spendable balance: confirmed coins plus our own pending // change, minus gift locks — so a pending spend debits immediately, while a // pending incoming receive stays out of it until it confirms. -- cgit v1.2.3