Set notification app name to ncspot

In hopes of fixing #760
This commit is contained in:
Henrik Friedrichsen
2022-03-22 00:15:04 +01:00
parent 479b962912
commit 90dd1a03d2

View File

@@ -423,11 +423,15 @@ pub fn send_notification(track_name: &str, _cover_url: Option<String>) {
} }
Notification::new() Notification::new()
.appname("ncspot")
.summary(track_name) .summary(track_name)
.icon(path.to_str().unwrap()) .icon(path.to_str().unwrap())
.show() .show()
} else { } else {
Notification::new().summary(track_name).show() Notification::new()
.appname("ncspot")
.summary(track_name)
.show()
}; };
if let Err(e) = res { if let Err(e) = res {