Skip to content

Commit

Permalink
fix: add to playlist dialog not showing playlist name
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Jun 1, 2023
1 parent 62fc773 commit 8944581
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion lib/components/shared/track_table/track_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,27 @@ class TrackTile extends HookConsumerWidget {
itemBuilder: (context, index) {
final playlist =
snapshot.data!.elementAt(index);
return Checkbox(
return CheckboxListTile(
title: Row(
children: [
ClipRRect(
borderRadius:
BorderRadius.circular(4),
child: UniversalImage(
path: TypeConversionUtils
.image_X_UrlString(
playlist.images,
placeholder:
ImagePlaceholder.collection,
),
height: 40,
width: 40,
),
),
const SizedBox(width: 8),
Text(playlist.name!),
],
),
value: playlistsCheck.value[playlist.id] ??
false,
onChanged: (val) {
Expand Down

0 comments on commit 8944581

Please sign in to comment.