diff --git a/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt b/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt index da09ea305..901c1bb35 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt @@ -31,7 +31,7 @@ import org.hisp.dhis.common.screens.Components import org.hisp.dhis.common.screens.FormShellsScreen import org.hisp.dhis.common.screens.FormsComponentsScreen import org.hisp.dhis.common.screens.IconButtonScreen -import org.hisp.dhis.common.screens.IconCardsScreen +import org.hisp.dhis.common.screens.MetadataAvatarScreen import org.hisp.dhis.common.screens.InputIntegerScreen import org.hisp.dhis.common.screens.InputLetterScreen import org.hisp.dhis.common.screens.InputLongTextScreen @@ -124,7 +124,7 @@ fun Main() { Components.LEGEND_DESCRIPTION -> LegendDescriptionScreen() Components.FORM_SHELLS -> FormShellsScreen() Components.BUTTON_BLOCK -> ButtonBlockScreen() - Components.ICON_CARDS -> IconCardsScreen() + Components.METADATA_AVATAR -> MetadataAvatarScreen() Components.BOTTOM_SHEET_HEADER -> BottomSheetHeaderScreen() Components.TAGS -> TagsScreen() Components.SECTIONS -> SectionScreen() diff --git a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt index bacc51319..e0fbd2e6f 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt @@ -27,7 +27,7 @@ enum class Components(val label: String) { BUTTON_BLOCK("Button block"), CHIPS("Chips"), BADGES("Badges"), - ICON_CARDS("Icon Cards"), + METADATA_AVATAR("Metadata Avatar"), INPUT_RADIO_BUTTON("Input Radio Button"), SWITCH("Switch"), } diff --git a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/IconCardsScreen.kt b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/MetadataAvatarScreen.kt similarity index 99% rename from common/src/commonMain/kotlin/org/hisp/dhis/common/screens/IconCardsScreen.kt rename to common/src/commonMain/kotlin/org/hisp/dhis/common/screens/MetadataAvatarScreen.kt index 94dbf38e5..59dc1a79d 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/IconCardsScreen.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/MetadataAvatarScreen.kt @@ -11,7 +11,7 @@ import org.hisp.dhis.mobile.ui.designsystem.resource.provideDHIS2Icon import org.hisp.dhis.mobile.ui.designsystem.theme.SurfaceColor @Composable -fun IconCardsScreen() { +fun MetadataAvatarScreen() { ColumnComponentContainer(title = "Metadata Avatar") { RowComponentContainer { MetadataAvatar(