From 6b3637aeb51daa86ed68e6b88a54ad282ff85772 Mon Sep 17 00:00:00 2001 From: David Hontiveros Gordo Date: Thu, 28 Nov 2024 15:50:42 +0100 Subject: [PATCH] dhonti/ANDROID-15405-postercard: New preview reference with no images --- .../mistica/compose/card/postercard/PosterCardPreviews.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardPreviews.kt b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardPreviews.kt index b8cf7a4e..9ae386f0 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardPreviews.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardPreviews.kt @@ -66,7 +66,7 @@ internal fun PosterCardImage() { firstTopAction = TopActionData(iconRes = R.drawable.icn_visibility), modifier = Modifier.fillMaxWidth(), aspectRatio = PosterCardAspectRatio.AR_16_9, - backgroundType = PosterCardBackgroundType.Image(imageResource = R.drawable.sample_background), + backgroundType = PosterCardBackgroundType.Color(brush = SolidColor(MisticaTheme.colors.successLow)), headline = Tag(content = TAG_HEADLINE_VALUE), preTitle = PRE_TITLE_VALUE, title = TITLE_VALUE,