aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/updatepage.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-02 11:27:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-02 11:51:22 +0200
commitf460a4449efc34d5fc3cb1251b7726ac6536dd25 (patch)
treeee7593edf355714420ccf231a7afc0732977ec18 /ui/updatepage.go
parentbuild: remove stray debugging echo (diff)
downloadwireguard-windows-f460a4449efc34d5fc3cb1251b7726ac6536dd25.tar.xz
wireguard-windows-f460a4449efc34d5fc3cb1251b7726ac6536dd25.zip
ui: render dots with svgs instead
Diffstat (limited to 'ui/updatepage.go')
-rw-r--r--ui/updatepage.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/updatepage.go b/ui/updatepage.go
index 9aa056a1..cffea839 100644
--- a/ui/updatepage.go
+++ b/ui/updatepage.go
@@ -25,7 +25,10 @@ func NewUpdatePage() (*UpdatePage, error) {
}
up.SetTitle("An Update is Available!")
- up.SetImage(iconProvider.updateAvailableImage)
+
+ if icon, err := iconProvider.UpdateAvailableImage(); err == nil {
+ up.SetImage(icon)
+ }
//TODO: make title bold
up.SetLayout(walk.NewVBoxLayout())