mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Use dark theme icon in Fleet Desktop by default (#7973)
This seems to be a better fit as a default due to what renders best in Ubuntu. Keeps themes the same as prior Desktop releases.
This commit is contained in:
parent
818d603274
commit
f7b341cb6e
1 changed files with 3 additions and 1 deletions
|
|
@ -50,7 +50,9 @@ func main() {
|
||||||
log.Info().Msg("ready")
|
log.Info().Msg("ready")
|
||||||
|
|
||||||
systray.SetTooltip("Fleet Desktop")
|
systray.SetTooltip("Fleet Desktop")
|
||||||
systray.SetTemplateIcon(iconLight, iconLight)
|
// Default to dark theme icon because this seems to be a better fit on Linux (Ubuntu at
|
||||||
|
// least). On macOS this is used as a template icon anyway.
|
||||||
|
systray.SetTemplateIcon(iconDark, iconDark)
|
||||||
|
|
||||||
// Theme detection is currently only on Windows. On macOS we use template icons (which
|
// Theme detection is currently only on Windows. On macOS we use template icons (which
|
||||||
// automatically change), and on Linux we don't handle it yet (Ubuntu doesn't seem to change
|
// automatically change), and on Linux we don't handle it yet (Ubuntu doesn't seem to change
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue