1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-06 21:48:30 -04:00

dock: fix launcher button color override

fixes #2530
This commit is contained in:
bbedward
2026-07-03 16:29:06 -04:00
parent 04962ffed1
commit dfe309a543
@@ -24,15 +24,13 @@ Item {
readonly property string tooltipText: I18n.tr("Applications") readonly property string tooltipText: I18n.tr("Applications")
readonly property color effectiveLogoColor: { readonly property var effectiveLogoColor: {
const override = SettingsData.dockLauncherLogoColorOverride; const override = SettingsData.dockLauncherLogoColorOverride;
if (override === "primary") if (override === "primary")
return Theme.primary; return Theme.primary;
if (override === "surface") if (override === "surface")
return Theme.surfaceText; return Theme.surfaceText;
if (override !== "") return override;
return override;
return Theme.surfaceText;
} }
onIsHoveredChanged: { onIsHoveredChanged: {