bugfix: ensure text content is passed to linux notifications
This commit is contained in:
parent
d2c6ea6ea6
commit
08792ea52f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user