From 08792ea52f006136fa9a540342c8bf069be9eeb1 Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Sat, 20 Jun 2020 16:04:00 -0400 Subject: [PATCH] bugfix: ensure text content is passed to linux notifications --- niotify_linux.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/niotify_linux.go b/niotify_linux.go index 6e6d1d5..daedf16 100644 --- a/niotify_linux.go +++ b/niotify_linux.go @@ -37,7 +37,10 @@ type linuxNotification struct { var _ notificationInterface = linuxNotification{} func (l *linuxManager) CreateNotification(title, text string) (*Notification, error) { - id, err := l.Notifier.SendNotification(notify.Notification{}) + id, err := l.Notifier.SendNotification(notify.Notification{ + Summary: title, + Body: text, + }) if err != nil { return nil, err }