mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-28 14:07:47 -04:00
dock: resolve icons for pre-substituted app IDs (#1669)
This commit is contained in:
1 parent
59d37847ec
commit
bb8e0d384f
1 file changed
+4
-1
@@ -80,7 +80,10 @@ Singleton {
|
||||
return Quickshell.iconPath(moddedId, true);
|
||||
}
|
||||
|
||||
return desktopEntry && desktopEntry.icon ? Quickshell.iconPath(desktopEntry.icon, true) : "";
|
||||
if (desktopEntry && desktopEntry.icon) {
|
||||
return Quickshell.iconPath(desktopEntry.icon, true);
|
||||
}
|
||||
return Quickshell.iconPath(appId, true);
|
||||
}
|
||||
|
||||
function getAppName(appId: string, desktopEntry: var): string {
|
||||
|
||||
Reference in new issue
Block a user