From 32d6271fc2430bedd7342475f0fe6e9eb21a9efe Mon Sep 17 00:00:00 2001 From: Dominik Wawrzonek Date: Fri, 2 Aug 2024 15:15:05 +0200 Subject: Fixed issue with shuffle and loop icons in music player screen 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 --- .../screens/media/media_player_controls.dart | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'lib/presentation/screens') diff --git a/lib/presentation/screens/media/media_player_controls.dart b/lib/presentation/screens/media/media_player_controls.dart index 26cdfce..f23bcc9 100644 --- a/lib/presentation/screens/media/media_player_controls.dart +++ b/lib/presentation/screens/media/media_player_controls.dart @@ -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: [ -- cgit 1.2.3-korg