From f4adfbe42c99fe70a8043a0b98332d93fad25954 Mon Sep 17 00:00:00 2001 From: Moritz Weber Date: Thu, 24 Dec 2020 14:31:04 +0100 Subject: [PATCH] minor ui fixes --- .../widgets/currently_playing_bar.dart | 59 ++++++++++--------- lib/presentation/widgets/next_indicator.dart | 35 ++++++----- 2 files changed, 50 insertions(+), 44 deletions(-) diff --git a/lib/presentation/widgets/currently_playing_bar.dart b/lib/presentation/widgets/currently_playing_bar.dart index f2fffb3..756074a 100644 --- a/lib/presentation/widgets/currently_playing_bar.dart +++ b/lib/presentation/widgets/currently_playing_bar.dart @@ -31,34 +31,37 @@ class CurrentlyPlayingBar extends StatelessWidget { ), GestureDetector( onTap: () => _onTap(context), - child: Row( - children: [ - Image( - image: getAlbumImage(song.albumArtPath), - height: 64.0, - ), - Container( - width: 10.0, - ), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text(song.title), - Text( - song.artist, - style: const TextStyle( - fontSize: 12.0, - color: Colors.white70, - ), - ) - ], - ), - const Spacer(), - const PlayPauseButton( - circle: false, - ), - const NextButton(), - ], + child: Container( + color: Colors.transparent, + child: Row( + children: [ + Image( + image: getAlbumImage(song.albumArtPath), + height: 64.0, + ), + Container( + width: 10.0, + ), + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text(song.title), + Text( + song.artist, + style: const TextStyle( + fontSize: 12.0, + color: Colors.white70, + ), + ) + ], + ), + const Spacer(), + const PlayPauseButton( + circle: false, + ), + const NextButton(), + ], + ), ), ), ], diff --git a/lib/presentation/widgets/next_indicator.dart b/lib/presentation/widgets/next_indicator.dart index c329a28..f8a5a15 100644 --- a/lib/presentation/widgets/next_indicator.dart +++ b/lib/presentation/widgets/next_indicator.dart @@ -21,22 +21,25 @@ class NextIndicator extends StatelessWidget { return GestureDetector( onTap: () => onTapAction(context), - child: Padding( - padding: const EdgeInsets.only(top: 4.0, bottom: 8.0), - child: Center( - child: Column( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - const Icon( - Icons.expand_less, - color: Colors.white70, - ), - NextSong( - queue: queue, - index: index, - ), - ], + child: Container( + color: Colors.transparent, + child: Padding( + padding: const EdgeInsets.only(top: 4.0, bottom: 8.0), + child: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + const Icon( + Icons.expand_less, + color: Colors.white70, + ), + NextSong( + queue: queue, + index: index, + ), + ], + ), ), ), ),