Fixes name instead of uri

This commit is contained in:
Vitor Pamplona 2024-06-20 12:22:07 -04:00
parent d07a767fa5
commit 82f99faec8

View File

@ -408,7 +408,15 @@ fun GetMediaItem(
authorName: String?,
inner: @Composable (State<MediaItem>) -> Unit,
) {
val data = remember(videoUri) { MediaItemData(videoUri, title, artworkUri, authorName) }
val data =
remember(videoUri) {
MediaItemData(
videoUri = videoUri,
authorName = authorName,
title = title,
artworkUri = artworkUri,
)
}
val mediaItem by produceCachedState(cache = mediaItemCache, key = data)
mediaItem?.let {