From 43adc410b91ff0e060998549b4602e7aff257666 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 2 May 2019 11:27:18 +0200 Subject: ui: render dots with svgs instead Signed-off-by: Jason A. Donenfeld --- ui/tray.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/tray.go') diff --git a/ui/tray.go b/ui/tray.go index 4f22fc4d..3d02e87e 100644 --- a/ui/tray.go +++ b/ui/tray.go @@ -289,7 +289,9 @@ func (tray *Tray) SetTunnelState(tunnel *service.Tunnel, state service.TunnelSta func (tray *Tray) UpdateFound() { action := walk.NewAction() action.SetText("An Update is Available!") - action.SetImage(iconProvider.updateAvailableImage) + if icon, err := iconProvider.UpdateAvailableImage(); err == nil { + action.SetImage(icon) + } //TODO: Make bold action.Triggered().Attach(func() { tray.mtw.Show() -- cgit v1.2.3-59-g8ed1b