mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-10 21:09:40 +02:00
Fixes name instead of uri
This commit is contained in:
parent
d07a767fa5
commit
82f99faec8
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user