Skip to content

Commit

Permalink
Fix Store Preferences Problem
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanmola committed Jan 15, 2025
1 parent ba7eb96 commit b0b5d3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Menu.setApplicationMenu(
Store.initRenderer();

export const store: any = new Store({
defaults: defaultPreferences,
defaults: {
preferences: defaultPreferences,
},
});

// Initialize the ipcMain Preferences Store
Expand Down

0 comments on commit b0b5d3a

Please sign in to comment.