1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

audio: fix cycle output, improve icon resolution for sink fixes #1808

This commit is contained in:
bbedward
2026-02-23 13:21:04 -05:00
parent f859a14173
commit 2f8f1c30ad
3 changed files with 49 additions and 37 deletions

View File

@@ -234,16 +234,7 @@ Rectangle {
spacing: Theme.spacingS
DankIcon {
name: {
if (modelData.name.includes("bluez"))
return "headset";
else if (modelData.name.includes("hdmi"))
return "tv";
else if (modelData.name.includes("usb"))
return "headset";
else
return "speaker";
}
name: AudioService.sinkIcon(modelData)
size: Theme.iconSize - 4
color: modelData === AudioService.sink ? Theme.primary : Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter