From 08929aa42cdc74c3fe29007ceee3c2f8e06e6667 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 1 Oct 2026 17:07:21 -0700 Subject: Add cooperative coin exits and clarify profile, preview and zap controls --- src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 2d9611a..b2584c2 100644 --- a/src/app.js +++ b/src/app.js @@ -5723,8 +5723,8 @@ const ctx = { // as money landing: without this the balance counts up from 0 in green, // which is the celebration a received payment gets. forgetAmountAnim: () => _amtLast.clear(), - // the one-tap zap amount, synced across devices with the rest of the state - zapDefaultSat: () => (wallet.loadFeatureState ? (wallet.loadFeatureState('prefs', {}).zapSat || 0) : 0), + // Start at 21 sats; an explicitly saved preference wins across devices. + zapDefaultSat: () => (wallet.loadFeatureState ? (wallet.loadFeatureState('prefs', {}).zapSat ?? 21) : 21), setZapDefaultSat: (n) => { const p = wallet.loadFeatureState('prefs', {}); p.zapSat = Math.max(1, Math.floor(n) || 0); -- cgit v1.2.3