Skip to content

Commit caf6c74

Browse files
committed
改用小图
1 parent 10ad515 commit caf6c74

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/com/ljyh/mei/ui/component/player/component/sheet/AlbumArtistBottomSheet.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import coil3.compose.AsyncImage
3838
import coil3.request.ImageRequest
3939
import coil3.request.crossfade
4040
import com.ljyh.mei.data.model.MediaMetadata
41+
import com.ljyh.mei.utils.smallImage
4142

4243
@OptIn(ExperimentalMaterial3Api::class)
4344
@Composable
@@ -91,7 +92,7 @@ fun AlbumArtistBottomSheet(
9192
// 显示专辑封面
9293
AsyncImage(
9394
model = ImageRequest.Builder(context)
94-
.data(coverUrl)
95+
.data(coverUrl.smallImage())
9596
.crossfade(true)
9697
.build(),
9798
contentDescription = "Album Cover",

0 commit comments

Comments
 (0)