aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-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' },