diff --git a/src/services/window.ts b/src/services/window.ts index 27a174b78..5be4e6e80 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -115,14 +115,8 @@ async function createMainWindow(app: App) { function getWindowExtraOpts() { const extraOpts: Partial = {}; if (!optionService.getOptionBool('nativeTitleBarVisible')) { - if (process.platform !== "darwin") { - // Windows, Linux - extraOpts.titleBarStyle = "hidden"; - extraOpts.titleBarOverlay = true; - } else { - // macOS - extraOpts.titleBarStyle = "hiddenInset"; - } + extraOpts.titleBarStyle = "hidden"; + extraOpts.titleBarOverlay = true; } return extraOpts;