mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Fix undesired maximize on startup
This commit is contained in:
2
main.js
2
main.js
@@ -425,7 +425,7 @@ async function createWindow() {
|
||||
mainWindow = new BrowserWindow(windowOptions);
|
||||
mainWindowCreated = true;
|
||||
setupSpellChecker(mainWindow, locale.messages);
|
||||
if (!startInTray && windowConfig) {
|
||||
if (!startInTray && windowConfig && windowConfig.maximized) {
|
||||
mainWindow.maximize();
|
||||
}
|
||||
if (!startInTray && windowConfig && windowConfig.fullscreen) {
|
||||
|
||||
Reference in New Issue
Block a user