diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts index 7ff462e9980e4..a1d6073f0c278 100644 --- a/apps/desktop/electron/main.ts +++ b/apps/desktop/electron/main.ts @@ -5258,7 +5258,7 @@ function getWindowButtonPosition(win = mainWindow) { // Fullscreen hides the traffic lights — treat as no left-side controls so the // renderer drops the traffic-light dodge inset and Y nudge. - if (Boolean(win?.isFullScreen?.())) { + if (win?.isFullScreen?.()) { return null }