mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-18 04:37:51 +01:00
desktop: fix duplicate window controls showing on Linux desktop app (#6844)
This commit is contained in:
@@ -101,7 +101,7 @@ async function createWindow() {
|
|||||||
...(config.desktopSettings.nativeTitlebar
|
...(config.desktopSettings.nativeTitlebar
|
||||||
? {}
|
? {}
|
||||||
: {
|
: {
|
||||||
titleBarStyle: "hidden",
|
titleBarStyle: process.platform === "win32" || process.platform === "darwin" ? "hidden" : "default",
|
||||||
frame: process.platform === "win32" || process.platform === "darwin",
|
frame: process.platform === "win32" || process.platform === "darwin",
|
||||||
titleBarOverlay: {
|
titleBarOverlay: {
|
||||||
height: 37,
|
height: 37,
|
||||||
|
|||||||
Reference in New Issue
Block a user