diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/iconprovider.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/iconprovider.go b/ui/iconprovider.go index 9f6cc433..97738f83 100644 --- a/ui/iconprovider.go +++ b/ui/iconprovider.go @@ -37,6 +37,9 @@ func iconWithOverlayForState(state service.TunnelState, size int) (icon *walk.Ic if err != nil { return } + if state == service.TunnelStopped { + return wireguardIcon, err //TODO: if we find something prettier than the gray dot, then remove this clause + } iconSize := wireguardIcon.Size() bmp, err := walk.NewBitmapWithTransparentPixels(iconSize) if err != nil { |