Skip to content

The agent that grows with you

fix(desktop): satisfy no-extra-boolean-cast in fullscreen guard

Brooklyn Nicholson4ed6f4f7f18b
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 7ff462e9980..a1d6073f0c2 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
}