aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/media_player/media_player.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/screens/media_player/media_player.dart')
-rw-r--r--lib/presentation/screens/media_player/media_player.dart11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/presentation/screens/media_player/media_player.dart b/lib/presentation/screens/media_player/media_player.dart
index 9ec31e2..3126ac1 100644
--- a/lib/presentation/screens/media_player/media_player.dart
+++ b/lib/presentation/screens/media_player/media_player.dart
@@ -79,7 +79,7 @@ class _MediaPlayerBackgroundState extends State<MediaPlayerBackground> {
},
),
Padding(
- padding: const EdgeInsets.symmetric(horizontal: 144),
+ padding: const EdgeInsets.symmetric(horizontal: 80),
child: SingleChildScrollView(
child: selectedNav == "My Media"
? const MediaPlayer()
@@ -88,10 +88,11 @@ class _MediaPlayerBackgroundState extends State<MediaPlayerBackground> {
: Container(),
),
),
- const Padding(
- padding: EdgeInsets.symmetric(horizontal: 144, vertical: 23.5),
- child: CustomVolumeSlider(),
- ),
+ if (selectedNav == "My Media" || selectedNav == "FM")
+ const Padding(
+ padding: EdgeInsets.symmetric(horizontal: 144, vertical: 23.5),
+ child: CustomVolumeSlider(),
+ ),
],
),
);