refactor: rename imageUrl to primaryImageUrl for consistency across components

This commit is contained in:
2026-04-19 20:08:41 +02:00
parent 52a51b1b28
commit a0086c6f62
7 changed files with 14 additions and 14 deletions

View File

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

View File

@@ -86,7 +86,7 @@ fun TvContinueWatchingSection(
TvHomeLandscapeCard(
title = item.primaryText,
supporting = item.secondaryText,
imageUrl = item.imageUrl,
imageUrl = item.primaryImageUrl,
progress = item.progress ?: 0f,
imageModifier = Modifier
.then(
@@ -138,7 +138,7 @@ fun TvNextUpSection(
TvHomeLandscapeCard(
title = item.primaryText,
supporting = item.secondaryText,
imageUrl = item.imageUrl,
imageUrl = item.primaryImageUrl,
imageModifier = Modifier
.then(
if (index == 0 && firstItemFocusRequester != null) {