desktop: fix duplicate window controls showing on Linux desktop app (#6844)

This commit is contained in:
Muhammad Ali
2024-11-08 12:16:33 +05:00
committed by GitHub
parent 2931fd0b3e
commit 865efaa860

View File

@@ -101,7 +101,7 @@ async function createWindow() {
...(config.desktopSettings.nativeTitlebar
? {}
: {
titleBarStyle: "hidden",
titleBarStyle: process.platform === "win32" || process.platform === "darwin" ? "hidden" : "default",
frame: process.platform === "win32" || process.platform === "darwin",
titleBarOverlay: {
height: 37,