mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge pull request #2432 from adriamartin91/fix/notification-missing-icon
fix(notifications): show fallback icon instead of checkerboard for missing theme icons
This commit is contained in:
@@ -770,6 +770,8 @@ Singleton {
|
||||
return "";
|
||||
if (icon.startsWith("/") || icon.startsWith("file://"))
|
||||
return icon;
|
||||
if (!ThemeIcons.iconExists(icon))
|
||||
return "";
|
||||
return ThemeIcons.iconFromName(icon);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user