summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/hvac/hvac_content.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-17 09:17:29 -0300
committerLisandro Perez Meyer <lpmeyer@ics.com>2023-11-17 14:11:43 +0000
commit0016d533a9fc601aa65f69a050c60c8d6158ed36 (patch)
tree6fd0765f9d1006a2bddd142caf1d7c0a9d5482cf /lib/presentation/screens/hvac/hvac_content.dart
parent4d77bab5a0f698943d1abf74482eecef7cc95f08 (diff)
Disable value animation at start up % update FuelLevel path.
Also: - Remove some warnings. - Improvements of hvac temp buttons. Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: Ic10e9ec5ec79f79f63d951469924325f29ea3fa7 Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/presentation/screens/hvac/hvac_content.dart')
-rw-r--r--lib/presentation/screens/hvac/hvac_content.dart12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/presentation/screens/hvac/hvac_content.dart b/lib/presentation/screens/hvac/hvac_content.dart
index f79ec14..73fd439 100644
--- a/lib/presentation/screens/hvac/hvac_content.dart
+++ b/lib/presentation/screens/hvac/hvac_content.dart
@@ -58,6 +58,8 @@ class HVACState extends ConsumerState<HVAC> {
isRearDefrostSelected = vehicle.isRearDefrosterActive;
isRecirculationSelected = vehicle.isRecirculationActive;
Size size = MediaQuery.sizeOf(context);
+ temperatureLeft = vehicle.driverTemperature;
+ temperatureRight = vehicle.passengerTemperature;
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
@@ -153,8 +155,14 @@ class HVACState extends ConsumerState<HVAC> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
- TemperatureControl(temperature: temperatureLeft),
- TemperatureControl(temperature: temperatureRight)
+ TemperatureControl(
+ temperature: temperatureLeft,
+ side: Side.left,
+ ),
+ TemperatureControl(
+ temperature: temperatureRight,
+ side: Side.right,
+ )
],
),
const SizedBox(