Fix regression which caused playlist thumbnails to be low res

This commit is contained in:
vfsfitvnm 2022-08-28 12:51:59 +02:00
parent ac0bc125e4
commit 891808ed6f

View file

@ -66,7 +66,7 @@ fun PlaylistPreviewItem(
imageContent = { imageContent = {
if (thumbnails.toSet().size == 1) { if (thumbnails.toSet().size == 1) {
AsyncImage( AsyncImage(
model = thumbnails.first(), model = thumbnails.first().thumbnail(thumbnailSizePx * 2),
contentDescription = null, contentDescription = null,
contentScale = ContentScale.Crop, contentScale = ContentScale.Crop,
modifier = Modifier modifier = Modifier