diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-03-28 23:35:50 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-03-28 23:35:50 +0200 |
commit | 4b7f7b081b5d8b45a43ea8b37e682c91b51c4d78 (patch) | |
tree | 72233c14d1011c39877275ca605eb0721896a5d6 /lib/notification | |
parent | 1b1cabb360538e03fd72092eb0e2cb25edb633f8 (diff) |
Maybe fix windows
Diffstat (limited to 'lib/notification')
-rw-r--r-- | lib/notification/notify_windows.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/notification/notify_windows.go b/lib/notification/notify_windows.go index 5f99135..14bab3e 100644 --- a/lib/notification/notify_windows.go +++ b/lib/notification/notify_windows.go @@ -16,13 +16,14 @@ package notification -import "gopkg.in/toast.v1" - +import ( + "gopkg.in/toast.v1" +) func Send(title, text string, critical, sound bool) error { notification := toast.Notification{ AppID: "gomuks", Title: title, - Message: message, + Message: text, Audio: toast.Silent, Duration: toast.Short, // Icon: ..., |