Skip to content

Commit

Permalink
Rename IconCardsScreen to MetadataAvatarScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Sep 19, 2023
1 parent aaa2837 commit 116c9db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 116c9db

Please sign in to comment.