From 4d77bab5a0f698943d1abf74482eecef7cc95f08 Mon Sep 17 00:00:00 2001 From: Lisandro Pérez Meyer Date: Thu, 16 Nov 2023 22:44:34 -0300 Subject: Bug fixes. Fixed Fan mode selection off state bug. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes ICS' internal AGL-48,49,50. Original from Sabin Sajeevan Bug-AGL: SPEC-4971 Change-Id: I66c875551a69a1b53eee2d6e1d3fa725b20ff41b Signed-off-by: Lisandro Pérez Meyer --- lib/presentation/screens/hvac/widgets/fan_speed_controls.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/presentation/screens/hvac/widgets') diff --git a/lib/presentation/screens/hvac/widgets/fan_speed_controls.dart b/lib/presentation/screens/hvac/widgets/fan_speed_controls.dart index 00f1181..c373bd8 100644 --- a/lib/presentation/screens/hvac/widgets/fan_speed_controls.dart +++ b/lib/presentation/screens/hvac/widgets/fan_speed_controls.dart @@ -151,13 +151,14 @@ class FanSpeedControlsState extends ConsumerState highlightColor: Colors.transparent, customBorder: const CircleBorder(), onTap: () { - _isPlaying ? null : _controller.isActive = true; setState(() { if (controlProgress >= 0.80) { controlProgress = 0.0; isMainACSelected = false; + _isPlaying = false; animationController.reverse(); } else { + _isPlaying ? null : _controller.isActive = true; isMainACSelected = true; _controller.isActive = true; _isPlaying = true; -- cgit 1.2.3-korg