summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/qml/Main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/qml/Main.qml b/app/qml/Main.qml
index 471d160..29704fb 100644
--- a/app/qml/Main.qml
+++ b/app/qml/Main.qml
@@ -32,7 +32,7 @@ ApplicationWindow {
onAuthorized: {
VehicleSignals.subscribe("Vehicle.Speed")
VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Engine.Speed")
- VehicleSignals.subscribe("Vehicle.Cabin.Infotainment.Cluster.Mode")
+ VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.Info")
VehicleSignals.get("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
VehicleSignals.subscribe("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
}
@@ -58,7 +58,7 @@ ApplicationWindow {
vehicleSpeed = parseFloat(value)
} else if (path === "Vehicle.Powertrain.CombustionEngine.Engine.Speed") {
engineSpeed = parseFloat(value)
- } else if (path === "Vehicle.Cabin.Infotainment.Cluster.Mode" && value === "true") {
+ } else if (path === "Vehicle.Cabin.SteeringWheel.Switches.Info" && value === "true") {
console.log ("Switching views!")
console.log ("currentIndex = " + container.currentIndex)
if (container.currentIndex === 0) {