summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-12-29 01:28:18 -0500
committerScott Murray <scott.murray@konsulko.com>2022-12-30 19:27:43 +0000
commit1895a45839c10d91408364ffb2b3a437bf962ac6 (patch)
tree4d323de5372da2e6b7bf457c89c25c2f6b2b09bd /lib
parentd9c46db74ab0947ae50a47f1aa1a95cadd1020e8 (diff)
Spelling fixesneedlefish
Changes: - Update Caustom -> Custom - Update Tier -> Tire Bug-AGL: SPEC-4642 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibb8029140e5717f01fb297de4962547a51645347
Diffstat (limited to 'lib')
-rw-r--r--lib/Buttons/defrost_recirculate.dart8
-rw-r--r--lib/home_page.dart6
-rw-r--r--lib/kuksa-server/vehicle_server_path.dart8
3 files changed, 11 insertions, 11 deletions
diff --git a/lib/Buttons/defrost_recirculate.dart b/lib/Buttons/defrost_recirculate.dart
index 30ac40d..909bbf5 100644
--- a/lib/Buttons/defrost_recirculate.dart
+++ b/lib/Buttons/defrost_recirculate.dart
@@ -10,12 +10,12 @@ import 'package:flutter_hvac/kuksa-server/vehicle-provider.dart';
import 'package:flutter_hvac/kuksa-server/vehicle_methods.dart';
import 'package:flutter_hvac/size.dart';
-class CaustomButton extends ConsumerStatefulWidget {
+class CustomButton extends ConsumerStatefulWidget {
WebSocket socket;
String serverPath;
String img;
String type;
- CaustomButton({
+ CustomButton({
Key? key,
required this.serverPath,
required this.socket,
@@ -24,10 +24,10 @@ class CaustomButton extends ConsumerStatefulWidget {
}) : super(key: key);
@override
- _CaustomButtonState createState() => _CaustomButtonState();
+ _CustomButtonState createState() => _CustomButtonState();
}
-class _CaustomButtonState extends ConsumerState<CaustomButton>
+class _CustomButtonState extends ConsumerState<CustomButton>
with SingleTickerProviderStateMixin {
late AnimationController _controller;
late vehicle vehicledata;
diff --git a/lib/home_page.dart b/lib/home_page.dart
index 00ee789..7b91129 100644
--- a/lib/home_page.dart
+++ b/lib/home_page.dart
@@ -137,7 +137,7 @@ class HomePage extends StatelessWidget {
),
Column(
children: [
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsRecirculationActive',
socket: socket,
@@ -146,7 +146,7 @@ class HomePage extends StatelessWidget {
SizedBox(
height: SizeConfig.safeBlockVertical,
),
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsRearDefrosterActive',
socket: socket,
@@ -155,7 +155,7 @@ class HomePage extends StatelessWidget {
SizedBox(
height: SizeConfig.safeBlockVertical,
),
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsFrontDefrosterActive',
socket: socket,
diff --git a/lib/kuksa-server/vehicle_server_path.dart b/lib/kuksa-server/vehicle_server_path.dart
index c61c3ca..e422aff 100644
--- a/lib/kuksa-server/vehicle_server_path.dart
+++ b/lib/kuksa-server/vehicle_server_path.dart
@@ -11,14 +11,14 @@ class VSPath {
static const String vehicleAmbientAirTemperature =
"Vehicle.AmbientAirTemperature";
- static const String vehicleFrontLeftTier =
+ static const String vehicleFrontLeftTire =
"Vehicle.Chassis.Axle.Row1.Wheel.Left.Tire.Pressure";
- static const String vehicleFrontRightTier =
+ static const String vehicleFrontRightTire =
"Vehicle.Chassis.Axle.Row1.Wheel.Right.Tire.Pressure";
- static const String vehicleRearLeftTier =
+ static const String vehicleRearLeftTire =
"Vehicle.Chassis.Axle.Row2.Wheel.Left.Tire.Pressure";
- static const String vehicleRearRightTier =
+ static const String vehicleRearRightTire =
"Vehicle.Chassis.Axle.Row2.Wheel.Right.Tire.Pressure";
static const String vehicleIsChildLockActiveLeft =
"Vehicle.Cabin.Door.Row2.Left.IsChildLockActive";