refactor(electron): update store configuration (#22597)

This commit is contained in:
Brendan Allan
2026-04-15 17:21:04 +08:00
committed by GitHub
parent c98f616385
commit d7718d41d4

View File

@@ -7,7 +7,7 @@ const cache = new Map<string, Store>()
export function getStore(name = SETTINGS_STORE) {
const cached = cache.get(name)
if (cached) return cached
const next = new Store({ name, fileExtension: "" })
const next = new Store({ name, fileExtension: "", accessPropertiesByDotNotation: false })
cache.set(name, next)
return next
}