From fbd39c24f4feb5e907a49ace5039fca984b6a01b Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 16 Jun 2025 00:33:47 +1000 Subject: [PATCH] fix: Properly declare iconIsInTrayBounds variable in Windows systray MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes Windows compilation error where iconIsInTrayBounds was being assigned without declaration. Declares the variable explicitly before assignment to resolve 'undefined: iconIsInTrayBounds' error. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- v3/pkg/application/systemtray_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v3/pkg/application/systemtray_windows.go b/v3/pkg/application/systemtray_windows.go index 41e239f06..3a7834d60 100644 --- a/v3/pkg/application/systemtray_windows.go +++ b/v3/pkg/application/systemtray_windows.go @@ -62,6 +62,7 @@ func (s *windowsSystemTray) positionWindow(window *WebviewWindow, offset int) er // systray icons in windows can either be in the taskbar // or in a flyout menu. + var iconIsInTrayBounds bool iconIsInTrayBounds, err = s.iconIsInTrayBounds() if err != nil { return err