mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
chore: remove verbose comment
This commit is contained in:
@@ -770,9 +770,6 @@ Singleton {
|
||||
return "";
|
||||
if (icon.startsWith("/") || icon.startsWith("file://"))
|
||||
return icon;
|
||||
// Verify the icon exists in the theme before returning its image:// URI.
|
||||
// Without this check, missing icons render as the purple/black checkerboard
|
||||
// from IconImageProvider::missingPixmap instead of the notification fallback icon.
|
||||
if (!ThemeIcons.iconExists(icon))
|
||||
return "";
|
||||
return ThemeIcons.iconFromName(icon);
|
||||
|
||||
Reference in New Issue
Block a user