summaryrefslogtreecommitdiffstats
path: root/lib/presentation/common_widget
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/common_widget')
-rw-r--r--lib/presentation/common_widget/custom_bottom_bar.dart2
-rw-r--r--lib/presentation/common_widget/volume_and_fan_control.dart2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/presentation/common_widget/custom_bottom_bar.dart b/lib/presentation/common_widget/custom_bottom_bar.dart
index 61a7e20..19c56b9 100644
--- a/lib/presentation/common_widget/custom_bottom_bar.dart
+++ b/lib/presentation/common_widget/custom_bottom_bar.dart
@@ -35,7 +35,7 @@ class CustomBottomBarState extends ConsumerState<CustomBottomBar> {
case "HVAC":
status = AppState.hvac;
case "Media":
- status = AppState.mediaPlayer;
+ status = AppState.media;
case "Settings":
status = AppState.settings;
case "Apps":
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,