From 6f9a7593646c6af0d4f19af2f669ce28b6e30cab Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 6 Jun 2019 15:44:29 +0200 Subject: global: cleanup TODO comment spacing Signed-off-by: Jason A. Donenfeld --- ui/iconprovider.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/iconprovider.go') 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 -- cgit v1.2.3-59-g8ed1b