aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 22:15:22 -0700
committerAdam Soltys <[email protected]>2026-08-02 22:15:22 -0700
commit5f72ee4b16355ce93d46cbb5b9cc22b7c2ff0efa (patch)
treef92c4723bee1200b1bb6a295c6472b8920792908 /src
parentccd96f8bd99c863a12c8b84199caf0c44c5edbd9 (diff)
downloadcoinosv3-5f72ee4b16355ce93d46cbb5b9cc22b7c2ff0efa.tar.gz
coinosv3-5f72ee4b16355ce93d46cbb5b9cc22b7c2ff0efa.zip
Offline keeps the classic wallet layout
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 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src')
-rw-r--r--src/app.js6
1 files changed, 4 insertions, 2 deletions
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' },