Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

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

Muhammad Ali865efaa86073
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts
index f2925b4be..860b8b137 100644
--- a/apps/desktop/src/main.ts
+++ b/apps/desktop/src/main.ts
@@ -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,