aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 15:01:43 -0700
committerAdam Soltys <[email protected]>2026-10-02 15:01:43 -0700
commit544c61e8c27652c71501277b10875eeead0a402c (patch)
treef5d1426202b6d40c17e0903514955c280d089767 /src
parent875d7df2c1c83ecfa85fe1c4546be6b568cc2e25 (diff)
downloadcoinosv3-544c61e8c27652c71501277b10875eeead0a402c.tar.gz
coinosv3-544c61e8c27652c71501277b10875eeead0a402c.zip
Switching Spending/Savings opens Receive, with that account's address
It opened the history tab. Any open payment detail still closes with the switch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo
Diffstat (limited to 'src')
-rw-r--r--src/app.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app.js b/src/app.js
index 5e8f147..43c5308 100644
--- a/src/app.js
+++ b/src/app.js
@@ -4183,11 +4183,11 @@ function setAccountSel(a, dir) {
_accDir = dir || (a === 'savings' ? 'left' : 'right');
ui.account = a;
try { localStorage.setItem(ACCOUNT_KEY, a); } catch {}
- // Selecting an account shows its history right away — home base — and any
- // open payment detail (which belongs to the account it was opened from)
- // closes with it.
+ // Selecting an account shows its Receive page — its own address, the
+ // thing you most often switched for — and any open payment detail (which
+ // belongs to the account it was opened from) closes with it.
ui.txDetail = null; ui.arkMoveDetail = null; ui.arkReconDetail = null; ui.arkExitDetail = null; ui.giftDetail = null;
- ui.tab = 'history';
+ ui.tab = 'receive';
render();
}