aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/zaps.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-05 19:48:58 -0700
committerAdam Soltys <[email protected]>2026-09-05 19:48:58 -0700
commitb6f620d97507dcbf5526c61e13675c74776df15d (patch)
tree137f0ca94b5aa1787570b824a5068f59825f5027 /src/features/zaps.js
parentc8c18d838573859b61c47875a4320b9ad0ad7514 (diff)
downloadcoinosv3-b6f620d97507dcbf5526c61e13675c74776df15d.tar.gz
coinosv3-b6f620d97507dcbf5526c61e13675c74776df15d.zip
Settings: lay the payment-address sections out as cards; zap settings under Nostr
Custom name, point of sale, the terminal's tap-to-pay link, own node and own domain each get a card on Settings → Payments instead of hiding in collapsed sections. The one-tap zap amount and the CLINK zap code move to Settings → Nostr, where the other nostr settings are. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMi2Y1oKPZ3TeeFmLej47y
Diffstat (limited to 'src/features/zaps.js')
-rw-r--r--src/features/zaps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/zaps.js b/src/features/zaps.js
index 68ae2dc..b1af6a9 100644
--- a/src/features/zaps.js
+++ b/src/features/zaps.js
@@ -404,8 +404,8 @@ export function zapsFeature(ctx) {
return true;
},
sendView() { return zapView(); },
- // Settings → Payments: the one-tap zap amount.
- settingsCards() {
+ // Settings → Nostr: the one-tap zap amount.
+ nostrSettingsCards() {
const cur = ctx.zapDefaultSat ? ctx.zapDefaultSat() : 0;
return [h('div', { class: 'card col', style: 'gap:8px' },
h('div', { class: 'row between', style: 'align-items:center;gap:10px' },