summaryrefslogtreecommitdiff
path: root/gui/components/MaterialButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/components/MaterialButton.qml')
-rw-r--r--gui/components/MaterialButton.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/components/MaterialButton.qml b/gui/components/MaterialButton.qml
index 7d4ff47..8e90e94 100644
--- a/gui/components/MaterialButton.qml
+++ b/gui/components/MaterialButton.qml
@@ -40,8 +40,7 @@ T.Button {
text: control.text
font: control.font
- color: !control.enabled ? control.Material.hintTextColor : control.flat
- && control.highlighted ? control.Material.accentColor : control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground
+ color: !control.enabled ? control.Material.hintTextColor : control.flat && control.highlighted ? control.Material.accentColor : control.highlighted ? control.Material.primaryHighlightedTextColor : "black"
}
background: Rectangle {