bugfix: ensure text content is passed to linux notifications

This commit is contained in:
Chris Waldon 2020-06-20 16:04:00 -04:00
parent d2c6ea6ea6
commit 08792ea52f
No known key found for this signature in database
GPG Key ID: 35BBC7C073F5A5D3

View File

@ -37,7 +37,10 @@ type linuxNotification struct {
var _ notificationInterface = linuxNotification{} var _ notificationInterface = linuxNotification{}
func (l *linuxManager) CreateNotification(title, text string) (*Notification, error) { 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 { if err != nil {
return nil, err return nil, err
} }