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

This commit is contained in:
Brooklyn Nicholson 2026-08-10 05:50:10 -05:00
parent 4f9d345956
commit 4ed6f4f7f1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}