Skip to content

Commit

Permalink
fix: use getConfig() instead of store.getConfig
Browse files Browse the repository at this point in the history
closes #86
  • Loading branch information
insertish committed May 23, 2022
1 parent eb7f7b8 commit 784c03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function createWindow() {
if (
!app.shouldQuit &&
!app.shouldRelaunch &&
store.get("config").minimiseToTray
getConfig().minimiseToTray
) {
event.preventDefault();
mainWindow.hide();
Expand Down

0 comments on commit 784c03d

Please sign in to comment.