aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/notification/notify_windows.go7
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: ...,