1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

fixing spotify app id in top levels

This commit is contained in:
bbedward
2025-08-25 09:56:48 -04:00
parent a0e825c37e
commit ce3c1528f9
5 changed files with 18 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
width: 18
height: 18
source: Quickshell.iconPath(DesktopEntries.byId(appId).icon, true)
source: Quickshell.iconPath(DesktopEntries.byId(Paths.moddedAppId(appId)).icon, true)
smooth: true
mipmap: true
asynchronous: true
@@ -125,9 +125,7 @@ Rectangle {
// Fallback text if no icon found
Text {
anchors.left: parent.left
anchors.leftMargin: SettingsData.runningAppsCompactMode ? (parent.width - 18) / 2 : Theme.spacingXS
anchors.verticalCenter: parent.verticalCenter
anchors.centerIn: parent
visible: !iconImg.visible
text: {
if (!appId)