aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/iconprovider.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-06 15:44:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-07 11:31:53 +0200
commit14dfc4e3e1925fcc3d303100c44ef4c321427c6b (patch)
treedd1e16a34fafff9635381e21e99c65421ed5cbf4 /ui/iconprovider.go
parenttunnel: perform full stop on shutdown (diff)
downloadwireguard-windows-14dfc4e3e1925fcc3d303100c44ef4c321427c6b.tar.xz
wireguard-windows-14dfc4e3e1925fcc3d303100c44ef4c321427c6b.zip
global: cleanup TODO comment spacing
Diffstat (limited to '')
-rw-r--r--ui/iconprovider.go6
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