fix: use icon-missing image always for fallback
This commit is contained in:
parent
e7fc5c05af
commit
24d4c6cc3b
4 changed files with 6 additions and 6 deletions
|
|
@ -139,8 +139,8 @@ Singleton {
|
|||
return DesktopEntries.applications.values.find(a => names.includes(a.id.toLowerCase())) ?? null;
|
||||
}
|
||||
|
||||
function getAppIcon(name: string, fallback: string): string {
|
||||
return Quickshell.iconPath(getDesktopEntry(name)?.icon, fallback);
|
||||
function getAppIcon(name: string): string {
|
||||
return Quickshell.iconPath(getDesktopEntry(name)?.icon, "icon-missing");
|
||||
}
|
||||
|
||||
function getAppCategoryIcon(name: string, fallback: string): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue