Fixed issue with shuffle and loop icons in music player screen 58/30158/2
authorDominik Wawrzonek <dwawrzonek@ics.com>
Fri, 2 Aug 2024 13:15:05 +0000 (15:15 +0200)
committerScott Murray <scott.murray@konsulko.com>
Mon, 19 Aug 2024 15:08:58 +0000 (15:08 +0000)
Added SingleChildScrollView wrapped by Expanded widget
to prevent overflow long songDetial text. Hidden text
can be seen after horizontal gesture scroll.

Bug-AGL: SPEC-5206
Change-Id: I439517bfdf151cd66b75a4f3eb7f1d14978d6010
Signed-off-by: Dominik Wawrzonek<dwawrzonek@ics.com>
lib/presentation/screens/media/media_player_controls.dart

index 26cdfce..f23bcc9 100644 (file)
@@ -107,13 +107,18 @@ class _MediaPlayerControlsDetailsState
     return Row(
       mainAxisAlignment: MainAxisAlignment.spaceBetween,
       children: [
-        Text(
-          widget.songDetail,
-          style: TextStyle(
-              color: Colors.white,
-              fontWeight: FontWeight.w400,
-              fontSize: 40,
-              shadows: [Helpers.dropShadowRegular]),
+        Expanded(
+          child: SingleChildScrollView(
+            scrollDirection: Axis.horizontal,
+            child: Text(
+              widget.songDetail,
+              style: TextStyle(
+                  color: Colors.white,
+                  fontWeight: FontWeight.w400,
+                  fontSize: 40,
+                  shadows: [Helpers.dropShadowRegular]),
+            ),
+          ),
         ),
         Row(
           children: [