diff --git a/v2/internal/frontend/desktop/windows/theme.go b/v2/internal/frontend/desktop/windows/theme.go index 8da6e2d51..842d7480d 100644 --- a/v2/internal/frontend/desktop/windows/theme.go +++ b/v2/internal/frontend/desktop/windows/theme.go @@ -37,12 +37,10 @@ func (w *Window) updateTheme() { if win32.SupportsCustomThemes() && customTheme != nil { if w.isActive { if isDarkMode { - println("1") win32.SetTitleBarColour(w.Handle(), customTheme.DarkModeTitleBar) win32.SetTitleTextColour(w.Handle(), customTheme.DarkModeTitleText) win32.SetBorderColour(w.Handle(), customTheme.DarkModeBorder) } else { - println("2") win32.SetTitleBarColour(w.Handle(), customTheme.LightModeTitleBar) win32.SetTitleTextColour(w.Handle(), customTheme.LightModeTitleText) win32.SetBorderColour(w.Handle(), customTheme.LightModeBorder) diff --git a/v2/internal/frontend/desktop/windows/window.go b/v2/internal/frontend/desktop/windows/window.go index 985a509a7..afbd84b57 100644 --- a/v2/internal/frontend/desktop/windows/window.go +++ b/v2/internal/frontend/desktop/windows/window.go @@ -99,6 +99,7 @@ func NewWindow(parent winc.Controller, appoptions *options.App, versionInfo *ope } func (w *Window) Run() int { + w.updateTheme() return winc.RunMainLoop() }