From 4b7f7b081b5d8b45a43ea8b37e682c91b51c4d78 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 28 Mar 2019 23:35:50 +0200 Subject: Maybe fix windows --- lib/notification/notify_windows.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/notification') 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: ..., -- cgit v1.2.3