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
+1 -12
View File
@@ -112,19 +112,8 @@ export const Wallet = () => {
} }
if (key) apiKey = key if (key) apiKey = key
if (raw) {
seed = raw
await refresh()
}
await checkBiometric() await checkBiometric()
try { ready = true
} catch (e) {
console.log(e)
error =
e instanceof Error ? e.message : 'Failed to access keychain'
} finally {
ready = true
}
} }
const switchNetwork = async (id: NetworkId) => { const switchNetwork = async (id: NetworkId) => {