require auth to log in (lock screen), remove auth-on-logout, remove welcome card from multicoin dashboard, relocate login buttons to root welcome page

- login('multi') no longer silently loads seed from keychain — shows locked screen with Touch ID/password
- Removed welcome card from EvmDashboard (multicoin route), root / handles account selection
- Root welcome page buttons call w.login() before navigating to respective routes
- Monero welcome page buttons also call w.login() before navigating
- logout now simply calls w.logout() + navigate('/') with no auth required
- Removed tab-bar logout buttons; logout moved to wallet card alongside refresh/settings/stop
This commit is contained in:
2026-05-18 05:24:08 +08:00
parent 6142b27c49
commit 9846e6464d
4 changed files with 9 additions and 45 deletions
+2 -2
View File
@@ -33,12 +33,12 @@
<CardContent>
<div class="flex flex-col gap-3">
<Button
onclick={() => navigate('/multicoin')}
onclick={async () => { await w.login('multi'); navigate('/multicoin') }}
class="w-full">
Multi Coins (ETH / BSC / Polygon)
</Button>
<Button
onclick={() => navigate('/monero')}
onclick={async () => { await w.login('monero'); navigate('/monero') }}
variant="outline"
class="w-full">
Monero