From 5f72ee4b16355ce93d46cbb5b9cc22b7c2ff0efa Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 22:15:22 -0700 Subject: Offline keeps the classic wallet layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Offline mode forces the settings tab, and the full-page settings layout was hiding the balance card and tab strip there — walling an offline user off from their cached balance, history, and the Savings receive address. Offline now keeps balance + tabs around the settings content. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 8c70f89..795ccc3 100644 --- a/src/app.js +++ b/src/app.js @@ -1938,8 +1938,10 @@ function walletScreen() { return h('div', { class: 'col', style: 'gap:0' }, brandHeader(false), h('div', { class: 'mt16' }, ob)); } // Settings is a full page of its own — no balance, no tab strip; the hub's - // back button (or the logo / avatar menu) leads out. - if (ui.tab === 'settings') { + // back button (or the logo / avatar menu) leads out. Offline keeps the + // classic layout: settings is the forced tab there, and hiding the balance + // and tab strip would wall off the cached balance, history, and receive. + if (ui.tab === 'settings' && !wallet.offline) { return h( 'div', { class: 'col', style: 'gap:0' }, -- cgit v1.2.3