refactor: add backdropImageUrl to MediaUiModel for improved image handling

This commit is contained in:
2026-04-19 20:14:19 +02:00
parent a0086c6f62
commit 2c5585417a
2 changed files with 47 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ internal fun TvFocusedItemHero(
.background(scheme.background)
) {
Crossfade(
targetState = item.primaryImageUrl,
targetState = item.backdropImageUrl,
animationSpec = tween(durationMillis = TvHomeHeroAnimationMillis),
label = "tv-home-hero-background"
) { imageUrl ->