mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-24 03:36:51 +00:00
refactor: rename imageUrl to primaryImageUrl for consistency across components
This commit is contained in:
@@ -63,7 +63,7 @@ internal fun ContinueWatchingCard(
|
||||
.background(scheme.surfaceContainer)
|
||||
) {
|
||||
PurefinAsyncImage(
|
||||
model = item.imageUrl,
|
||||
model = item.primaryImageUrl,
|
||||
contentDescription = item.primaryText,
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
contentScale = ContentScale.Crop
|
||||
|
||||
@@ -66,7 +66,7 @@ internal fun HomeBrowseCard(
|
||||
.background(scheme.surface)
|
||||
) {
|
||||
PurefinAsyncImage(
|
||||
model = uiModel.imageUrl,
|
||||
model = uiModel.primaryImageUrl,
|
||||
contentDescription = uiModel.primaryText,
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
contentScale = ContentScale.Crop
|
||||
|
||||
@@ -58,7 +58,7 @@ internal fun NextUpCard(
|
||||
.background(scheme.surface)
|
||||
) {
|
||||
PurefinAsyncImage(
|
||||
model = uiModel.imageUrl,
|
||||
model = uiModel.primaryImageUrl,
|
||||
contentDescription = uiModel.primaryText,
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
contentScale = ContentScale.Crop
|
||||
|
||||
Reference in New Issue
Block a user