diff --git a/internal/driver/glfw/driver_desktop.go b/internal/driver/glfw/driver_desktop.go index 7c0732f50e..8ae2030387 100644 --- a/internal/driver/glfw/driver_desktop.go +++ b/internal/driver/glfw/driver_desktop.go @@ -121,7 +121,11 @@ func itemForMenuItem(i *fyne.MenuItem, parent *systray.MenuItem) *systray.MenuIt if err != nil { fyne.LogError("Failed to convert systray icon", err) } else { - item.SetIcon(img) + if _, ok := i.Icon.(*theme.ThemedResource); ok { + item.SetTemplateIcon(img, img) + } else { + item.SetIcon(img) + } } } return item