From 72833a9bcd5ae8d5ec09d8a7545c4199eb10dbee Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sun, 25 Jun 2023 10:09:16 +0600 Subject: [PATCH] chore: track collection view shuffle button color correction --- .../track_collection_view/track_collection_heading.dart | 2 +- .../track_collection_view/track_collection_view.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/shared/track_table/track_collection_view/track_collection_heading.dart b/lib/components/shared/track_table/track_collection_view/track_collection_heading.dart index 49bcd99c..1aeb9107 100644 --- a/lib/components/shared/track_table/track_collection_view/track_collection_heading.dart +++ b/lib/components/shared/track_table/track_collection_view/track_collection_heading.dart @@ -147,7 +147,7 @@ class TrackCollectionHeading extends HookConsumerWidget { child: FilledButton.icon( style: ElevatedButton.styleFrom( backgroundColor: Colors.white, - foregroundColor: color?.color, + foregroundColor: Colors.black, ), label: Text(context.l10n.shuffle), icon: const Icon(SpotubeIcons.shuffle), diff --git a/lib/components/shared/track_table/track_collection_view/track_collection_view.dart b/lib/components/shared/track_table/track_collection_view/track_collection_view.dart index 419fb2d2..178b2aca 100644 --- a/lib/components/shared/track_table/track_collection_view/track_collection_view.dart +++ b/lib/components/shared/track_table/track_collection_view/track_collection_view.dart @@ -168,7 +168,7 @@ class TrackCollectionView extends HookConsumerWidget { kIsMobile ? const BackButton(color: Colors.white) : null, iconTheme: IconThemeData(color: color?.titleTextColor), primary: true, - backgroundColor: color?.color, + backgroundColor: color?.color.withOpacity(.5), title: collapsed.value ? Text( title,