summaryrefslogtreecommitdiffstats
path: root/app/DashboardGaugeStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/DashboardGaugeStyle.qml')
-rw-r--r--app/DashboardGaugeStyle.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/DashboardGaugeStyle.qml b/app/DashboardGaugeStyle.qml
index d765a70..aafe50f 100644
--- a/app/DashboardGaugeStyle.qml
+++ b/app/DashboardGaugeStyle.qml
@@ -131,7 +131,8 @@ CircularGaugeStyle {
readonly property int kphInt: control.value
}
Text {
- text: "km/h"
+ id: speedLabel
+ text: valueSource.mphDisplay ? "MPH" : "km/h"
color: "white"
font.pixelSize: toPixels(0.09)
anchors.top: speedText.bottom