Skip to content

Commit

Permalink
Fix maximize errors (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesMerkt authored Feb 28, 2022
1 parent 2c9cd57 commit 9b9881c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/main/applicationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class ApplicationManager {
this.mainWindow.setMenu(this.getMainWindowMenu());
this.mainWindow.on("close", this.mainWindowCloseHandler);
if (validWindowState.maximized) {
this.settingsWindow.maximize();
this.mainWindow.maximize();
}
}
this.mainWindow.focus();
Expand Down Expand Up @@ -317,7 +317,7 @@ export class ApplicationManager {
}
});
if (validWindowState.maximized) {
this.settingsWindow.maximize();
this.webWindow.maximize();
}
}
this.webWindow.focus();
Expand Down

0 comments on commit 9b9881c

Please sign in to comment.