summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/hvac
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/screens/hvac')
-rw-r--r--lib/presentation/screens/hvac/widgets/fan_speed_controls.dart3
1 files changed, 2 insertions, 1 deletions
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<FanSpeedControls>
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;