mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-06 21:48:30 -04:00
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user