diff options
| author | Adam Soltys <[email protected]> | 2026-10-01 17:07:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-01 17:07:21 -0700 |
| commit | 08929aa42cdc74c3fe29007ceee3c2f8e06e6667 (patch) | |
| tree | 5f5f0140cd420b4955ac115f6cffd488bee4a719 /src/app.js | |
| parent | 62b6b80d9c8d03d6caadb0648059ba94e34f8b1d (diff) | |
| download | coinosv3-08929aa42cdc74c3fe29007ceee3c2f8e06e6667.tar.gz coinosv3-08929aa42cdc74c3fe29007ceee3c2f8e06e6667.zip | |
Add cooperative coin exits and clarify profile, preview and zap controls
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
