refactor notifications
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "services/dbus/mpris.hpp"
|
||||
#include "services/dbus/messages.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
@@ -94,7 +95,7 @@ void MprisController::launchNotification() {
|
||||
|
||||
auto notifactionController = NotificationController::getInstance();
|
||||
|
||||
MprisController::MprisPlayer2Message mpris;
|
||||
MprisPlayer2Message mpris;
|
||||
mpris.title = StringHelper::trimToSize(title, 30);
|
||||
mpris.artist = StringHelper::trimToSize(artist, 30);
|
||||
mpris.artwork_url = artwork_url;
|
||||
|
||||
Reference in New Issue
Block a user