1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-11 07:52:50 -05:00

No DankIcon in notifications

This commit is contained in:
bbedward
2025-10-08 09:05:33 -04:00
parent 19828d3b06
commit f71dd1ed54
4 changed files with 11 additions and 31 deletions

View File

@@ -316,10 +316,8 @@ PanelWindow {
}
hasImage: hasNotificationImage
fallbackIcon: notificationData?.appIcon || "notifications"
fallbackIcon: ""
fallbackText: {
if (hasNotificationImage || (notificationData?.appIcon && notificationData.appIcon !== ""))
return ""
const appName = notificationData?.appName || "?"
return appName.charAt(0).toUpperCase()
}