diff options
Diffstat (limited to 'ui/iconprovider.go')
-rw-r--r-- | ui/iconprovider.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/iconprovider.go b/ui/iconprovider.go index 9a9d7aeb..c38eac69 100644 --- a/ui/iconprovider.go +++ b/ui/iconprovider.go @@ -36,7 +36,7 @@ func iconWithOverlayForState(state manager.TunnelState, size int) (icon walk.Ima } if state == manager.TunnelStopped { - return wireguardIcon, err //TODO: if we find something prettier than the gray dot, then remove this clause + return wireguardIcon, err // TODO: if we find something prettier than the gray dot, then remove this clause } iconSize := wireguardIcon.Size() @@ -74,9 +74,9 @@ func iconForState(state manager.TunnelState, size int) (icon *walk.Icon, err err case manager.TunnelStarted: icon, err = loadSystemIcon("imageres", 101, size) case manager.TunnelStopped: - icon, err = walk.NewIconFromResourceWithSize("dot-gray.ico", walk.Size{size, size}) //TODO: replace with real icon + icon, err = walk.NewIconFromResourceWithSize("dot-gray.ico", walk.Size{size, size}) // TODO: replace with real icon default: - icon, err = loadSystemIcon("shell32", 238, size) //TODO: this doesn't look that great overlayed on the app icon + icon, err = loadSystemIcon("shell32", 238, size) // TODO: this doesn't look that great overlayed on the app icon } if err == nil { cachedIconsForWidthAndState[widthAndState{size, state}] = icon |