From 1c9ca782fe7fedcf14c9d33035512a2552081ec7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 18:18:28 -0700 Subject: Settings: a Point of sale page of its own; Network folds into Advanced. Six tiles still: Wallet, Payments, Point of sale, Nostr, Notifications, Advanced. The network and explorer cards sit at the top of Advanced. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/app.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index a644cbd..a45c9f8 100644 --- a/src/app.js +++ b/src/app.js @@ -2503,7 +2503,8 @@ function settingsTab() { // matters if the phone is lost tonight case 'wallet': return page(a ? [recoveryCard(a), walletNameCard(a), pubkeyCard(a)] : []); case 'payments': return page(featureAll('settingsCards').reverse()); - case 'network': return page([networkCard(), explorerCard()]); + case 'pos': return page(featureAll('posSettingsCards')); + case 'network': return page([networkCard(), explorerCard()]); // an old bookmark of the tile; the cards live under Advanced now case 'nostr': return nostrSettingsView(); case 'notifications': return page(featureAll('notifySettingsCards').reverse()); case 'advanced': return advancedSettingsView(); @@ -2536,7 +2537,7 @@ function settingsTab() { grid([ tile('wallet', t('settingsWallet'), t('settingsWalletDesc')), tile('payments', t('settingsPayments'), t('settingsPaymentsDesc')), - tile('network', t('settingsNetwork'), t('settingsNetworkDesc')), + tile('pos', t('posTitle'), t('settingsPosDesc')), tile('nostr', t('nostrSettings'), t('settingsNostrDesc')), tile('notifications', t('settingsNotifications'), t('settingsNotifDesc')), tile('advanced', t('advancedSettings'), t('settingsAdvancedDesc')), @@ -2581,6 +2582,9 @@ function advancedSettingsView() { return h( 'div', { class: 'col', style: 'gap:16px' }, + // which network and which explorer: changed once, if ever — advanced + networkCard(), + explorerCard(), wallet.watchOnly ? null : h( -- cgit v1.2.3