diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts index d57b82f..02e1fb1 100644 --- a/src/stores/settingsStore.ts +++ b/src/stores/settingsStore.ts @@ -134,7 +134,10 @@ export const useSettingsStore = create()( refreshSettings: async () => { try { const { load } = await import("@tauri-apps/plugin-store"); - const store = await load("settings_store.json", { autoSave: false }); + const store = await load("settings_store.json", { + defaults: DEFAULT_SETTINGS, + autoSave: false + }); const settings = (await store.get("settings")) as Settings; // Load additional settings that come from invoke calls