1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

launcher: fix invalid icon rendering wrong icon

This commit is contained in:
bbedward
2026-01-04 22:58:20 -05:00
parent 9b027df1d5
commit c1d95a3086
3 changed files with 4 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ Rectangle {
width: computedIconSize
height: computedIconSize
anchors.horizontalCenter: parent.horizontalCenter
iconValue: model.icon && model.icon !== "" ? model.icon : model.startupClass
iconValue: (model.icon && model.icon !== "") ? model.icon : ""
iconSize: computedIconSize
fallbackText: (model.name && model.name.length > 0) ? model.name.charAt(0).toUpperCase() : "A"
materialIconSizeAdjustment: root.iconMaterialSizeAdjustment