aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/common_widget/volume_and_fan_control.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/common_widget/volume_and_fan_control.dart')
-rw-r--r--lib/presentation/common_widget/volume_and_fan_control.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/common_widget/volume_and_fan_control.dart b/lib/presentation/common_widget/volume_and_fan_control.dart
index 051e360..b38e303 100644
--- a/lib/presentation/common_widget/volume_and_fan_control.dart
+++ b/lib/presentation/common_widget/volume_and_fan_control.dart
@@ -20,7 +20,7 @@ class VolumeFanControl extends ConsumerWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: [
Visibility.maintain(
- visible: state == AppState.mediaPlayer ? false : true,
+ visible: state == AppState.media ? false : true,
child: const VolumeBar()),
SizedBox(
height: gapSize,