mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
refactor: rename imageUrl to primaryImageUrl for consistency across components
This commit is contained in:
@@ -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 ->
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user