aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 09:39:00 -0700
committerAdam Soltys <[email protected]>2026-10-02 09:39:00 -0700
commit2aba63f5d8ae130bbc8dcfc8089841debbca82c6 (patch)
treee12d1e8e92cff11b0abd90a1670429d0ebc3b35f /src/app.js
parentfe569ffa701e3f9b54330def31193217eb470ab9 (diff)
downloadcoinosv3-2aba63f5d8ae130bbc8dcfc8089841debbca82c6.tar.gz
coinosv3-2aba63f5d8ae130bbc8dcfc8089841debbca82c6.zip
Notifications screen links to its settings
A Settings button beside the Notifications title opens Settings > Notifications (which kinds buzz this device); browser Back returns. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 46a7054..4ce3386 100644
--- a/src/app.js
+++ b/src/app.js
@@ -5751,6 +5751,8 @@ async function importSnapshotFile(e) {
const ctx = {
h, ui, render, wallet, toast, copy, copyBtn, pasteBtn, blankSend, goBack, canGoBack, goHome, openExternal, showSend,
openWalletSettings: (view) => openWalletSettings(view),
+ // one page of the Settings hub, from anywhere (Notifications' gear)
+ openSettingsPage: (page) => { clearFeatureNav(); ui.screen = 'wallet'; ui.tab = 'settings'; ui.settingsPage = page; render(); try { window.scrollTo(0, 0); } catch {} },
fmtAmount, unitLabel, unitTag, getUnit: () => unit, toggleUnit, download,
// in fiat the typed figure is money, so it needs today's price to become sats
parseAmount: (v, u) => parseAmount(v, u, rateNow()),