auto start monero when switching to monero tab

This commit is contained in:
2026-05-17 10:46:58 +08:00
parent c1ea5b1c3f
commit e6ed6445ad
@@ -128,6 +128,10 @@ export const Wallet = () => {
network = id network = id
if (id === 'monero') { if (id === 'monero') {
await checkMoneroStatus() await checkMoneroStatus()
if (moneroInstalled && !moneroRunning) {
await moneroStart()
await checkMoneroStatus()
}
} else if (seed) { } else if (seed) {
await refresh() await refresh()
} }