From a493b12aca18a670296f0f7142ad041b87ec1b69 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 14 Sep 2026 21:58:33 -0700 Subject: A gift locked from Savings shows under Savings, not Spending. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every feature balance line landed on the Spending face, but a gift's locked reservation is on-chain money still sitting in Savings. Lines now say which side they belong to and draw on that card: gifts on Savings beside pending incoming, ark's Moving… on Spending as before. Co-Authored-By: Claude Fable 5.1 --- src/features/ark.js | 2 +- src/features/gifts.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/features') diff --git a/src/features/ark.js b/src/features/ark.js index d64c635..e0c8f19 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -3424,7 +3424,7 @@ export function arkFeature(ctx) { const a = ((arkStateNow() || {}).actions || []).find( (x) => x.type === 'board' && x.fundingTxid && !['done', 'failed'].includes(x.step) && x.needConfs); const prog = a ? ` · ${Math.min(a.confs || 0, a.needConfs)}/${a.needConfs}` : ''; - return [{ label: t('movingLabel') + prog, sat: b.boardingSat }]; + return [{ label: t('movingLabel') + prog, sat: b.boardingSat, side: 'spending' }]; }, walletNotices() { // Everything the balance needs to say, said once. These used to be a diff --git a/src/features/gifts.js b/src/features/gifts.js index 4f5225c..111303e 100644 --- a/src/features/gifts.js +++ b/src/features/gifts.js @@ -961,7 +961,8 @@ export function giftsFeature(ctx) { }, balanceLines() { const locked = wallet.giftLockedValue(); - return locked > 0 ? [{ label: t('lockedInGifts'), sat: locked }] : []; + // on-chain reservations: money still in Savings, spoken for + return locked > 0 ? [{ label: t('lockedInGifts'), sat: locked, side: 'savings' }] : []; }, historyEntries(txs, sel) { // These are ON-CHAIN gift reservations — Savings timeline. Ark gifts show -- cgit v1.2.3