diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 18:18:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 18:18:28 -0700 |
| commit | 1c9ca782fe7fedcf14c9d33035512a2552081ec7 (patch) | |
| tree | 0316e12b3361fd1008025a42ba91a089bfe8157f /src/app.js | |
| parent | b00953e0a69df5d95cf6dd792b63c3671bd30191 (diff) | |
| download | coinosv3-1c9ca782fe7fedcf14c9d33035512a2552081ec7.tar.gz coinosv3-1c9ca782fe7fedcf14c9d33035512a2552081ec7.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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( |
