always start wallet in locked state, require explicit unlock

This commit is contained in:
2026-05-18 03:57:50 +08:00
parent b130e92294
commit 7eddbc252e
@@ -112,20 +112,9 @@ export const Wallet = () => {
}
if (key) apiKey = key
if (raw) {
seed = raw
await refresh()
}
await checkBiometric()
try {
} catch (e) {
console.log(e)
error =
e instanceof Error ? e.message : 'Failed to access keychain'
} finally {
ready = true
}
}
const switchNetwork = async (id: NetworkId) => {
network = id