chore: track collection view shuffle button color correction

This commit is contained in:
Kingkor Roy Tirtho 2023-06-25 10:09:16 +06:00
parent 6c2d65587b
commit 72833a9bcd
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ class TrackCollectionHeading<T> extends HookConsumerWidget {
child: FilledButton.icon( child: FilledButton.icon(
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
backgroundColor: Colors.white, backgroundColor: Colors.white,
foregroundColor: color?.color, foregroundColor: Colors.black,
), ),
label: Text(context.l10n.shuffle), label: Text(context.l10n.shuffle),
icon: const Icon(SpotubeIcons.shuffle), icon: const Icon(SpotubeIcons.shuffle),

View File

@ -168,7 +168,7 @@ class TrackCollectionView<T> extends HookConsumerWidget {
kIsMobile ? const BackButton(color: Colors.white) : null, kIsMobile ? const BackButton(color: Colors.white) : null,
iconTheme: IconThemeData(color: color?.titleTextColor), iconTheme: IconThemeData(color: color?.titleTextColor),
primary: true, primary: true,
backgroundColor: color?.color, backgroundColor: color?.color.withOpacity(.5),
title: collapsed.value title: collapsed.value
? Text( ? Text(
title, title,