Skip to content

Commit

Permalink
Automatic speed unit update
Browse files Browse the repository at this point in the history
Make speed unit depend on the system
unit system setup.

Change-Id: I2545dfbe3f4656fbe6e6b310ac8abd7e3c3bad71
Reviewed-by: Dominik Holland <[email protected]>
  • Loading branch information
Nedim Hadzic committed Oct 6, 2016
1 parent 36c8b83 commit 0b60c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sysui/Cluster/LeftDial.qml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import QtQuick 2.1
import QtGraphicalEffects 1.0
import utils 1.0
import models 1.0
import service.settings 1.0

Item {
id: root
Expand Down Expand Up @@ -102,7 +103,7 @@ Item {
font.family: Style.fontFamily
font.pixelSize: 24
color: Style.colorWhite
text: "mph"
text: SettingsService.metric ? "km/h" : "mph"
}


Expand Down

0 comments on commit 0b60c96

Please sign in to comment.