mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-05 03:14:28 +00:00
Added ability to specify application name for Linux MPRIS.
This commit is contained in:
@@ -35,6 +35,7 @@ SystemMediaControlsManager::SystemMediaControlsManager(
|
||||
base::Platform::SystemMediaControls::PlaybackStatus;
|
||||
using Command = base::Platform::SystemMediaControls::Command;
|
||||
|
||||
_controls->setApplicationName(AppName.utf16());
|
||||
const auto inited = _controls->init(controller->widget());
|
||||
if (!inited) {
|
||||
LOG(("SystemMediaControlsManager failed to init."));
|
||||
|
||||
Reference in New Issue
Block a user