mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-17 17:35:16 +00:00
fix: add to playlist dialog not showing playlist name
This commit is contained in:
parent
62fc7739b5
commit
8944581c09
@ -156,7 +156,27 @@ class TrackTile extends HookConsumerWidget {
|
|||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
final playlist =
|
final playlist =
|
||||||
snapshot.data!.elementAt(index);
|
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] ??
|
value: playlistsCheck.value[playlist.id] ??
|
||||||
false,
|
false,
|
||||||
onChanged: (val) {
|
onChanged: (val) {
|
||||||
|
Loading…
Reference in New Issue
Block a user