summaryrefslogtreecommitdiff
path: root/gui/components/MaterialButton.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-29 17:12:06 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-29 18:14:18 +0100
commitdcf660f343a7ba85feb693ee5db40894829e7804 (patch)
tree7fe2edbe01e82827fba2c25de6965808557c8f67 /gui/components/MaterialButton.qml
parent74970372b6586b336364ac1affac9dd7d22baef1 (diff)
[ui] ui fixes after field test recommendations
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 {