diff --git a/lib/components/AlbumScreen/track_list_tile.dart b/lib/components/AlbumScreen/track_list_tile.dart index 2d8b1ee5..973a2f73 100644 --- a/lib/components/AlbumScreen/track_list_tile.dart +++ b/lib/components/AlbumScreen/track_list_tile.dart @@ -474,17 +474,14 @@ class TrackListItemState extends ConsumerState // colorScheme: imageTheme, // brightness: Theme.of(context).brightness, colorScheme: imageTheme.copyWith( - surfaceContainer: isCurrentlyPlaying - ? ref + surfaceContainer: ref .watch(colorThemeProvider) .primary .withOpacity( Theme.of(context).brightness == Brightness.dark ? 0.35 - : 0.3) - // : Theme.of(context).colorScheme.surfaceContainer, - : Colors.transparent, + : 0.3) ), textTheme: Theme.of(context).textTheme.copyWith( bodyLarge: Theme.of(context) @@ -631,7 +628,9 @@ class TrackListItemTile extends StatelessWidget { "${durationLabelFullHours > 0 ? "$durationLabelFullHours ${AppLocalizations.of(context)!.hours} " : ""}${durationLabelFullMinutes > 0 ? "$durationLabelFullMinutes ${AppLocalizations.of(context)!.minutes} " : ""}$durationLabelSeconds ${AppLocalizations.of(context)!.seconds}"; return ListTileTheme( - tileColor: Theme.of(context).colorScheme.surfaceContainer, + tileColor: isCurrentTrack + ? Theme.of(context).colorScheme.surfaceContainer + : Colors.transparent, child: ListTile( visualDensity: const VisualDensity( horizontal: 0.0,