diff --git a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCard.kt b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCard.kt index dd24a06f1..508bba81a 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCard.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCard.kt @@ -5,7 +5,6 @@ import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.aspectRatio -import androidx.compose.foundation.layout.heightIn import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -32,7 +31,7 @@ fun PosterCard( ) { androidx.compose.material.Card( elevation = 0.dp, - shape = RoundedCornerShape(MisticaTheme.radius.containerBorderRadius), + shape = RoundedCornerShape(16.dp), border = BorderStroke(width = 1.dp, color = MisticaTheme.colors.border), modifier = modifier.let { modifierValue -> onClickAction?.let { @@ -57,7 +56,7 @@ fun PosterCard( modifier = Modifier.align(alignment = Alignment.BottomCenter), verticalArrangement = Arrangement.Bottom ) { - PosterCardTextContent( + PosterCardMainContent( backgroundType = backgroundType, tag = headline, preTitle = preTitle, diff --git a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardTextContent.kt b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardMainContent.kt similarity index 99% rename from library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardTextContent.kt rename to library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardMainContent.kt index f2b612035..3b896b533 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardTextContent.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/card/postercard/PosterCardMainContent.kt @@ -16,7 +16,7 @@ import com.telefonica.mistica.compose.tag.Tag import com.telefonica.mistica.compose.theme.MisticaTheme @Composable -internal fun PosterCardTextContent( +internal fun PosterCardMainContent( modifier: Modifier = Modifier, backgroundType: PosterCardBackgroundType, tag: Tag?, diff --git a/library/src/main/res/drawable/sample_background.jpg b/library/src/main/res/drawable/sample_background.jpg index 95636a46b..a425b181d 100644 Binary files a/library/src/main/res/drawable/sample_background.jpg and b/library/src/main/res/drawable/sample_background.jpg differ