From 2aba63f5d8ae130bbc8dcfc8089841debbca82c6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 2 Oct 2026 09:39:00 -0700 Subject: 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 Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo --- src/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app.js') 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()), -- cgit v1.2.3