sideright: audio controls: use correct value for icon

This commit is contained in:
end-4 2025-03-29 11:05:49 +01:00
parent e6578cd43f
commit 67b4b5d9e0

View file

@ -15,7 +15,11 @@ const AppVolume = (stream) => Box({
tooltipText: stream.stream.name,
setup: (self) => {
self.hook(stream, (self) => {
self.icon = substitute(stream.stream.name);
self.icon = substitute(
stream["icon-name"] ||
stream.stream["icon-name"] ||
stream.stream["application-id"] ||
stream.stream["name"]);
})
},
}),