Skip to content

Commit

Permalink
update:[ANDROAPP-5467] screen renamed to input age screen
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAparicioAlbaAsenjo committed Sep 14, 2023
1 parent 635b570 commit bc81fe9
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 @@ -21,7 +21,6 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import org.hisp.dhis.common.screens.AgeFieldScreen
import org.hisp.dhis.common.screens.BottomSheetScreen
import org.hisp.dhis.common.screens.ButtonBlockScreen
import org.hisp.dhis.common.screens.ButtonScreen
Expand All @@ -30,6 +29,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.InputAgeScreen
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 @@ -130,7 +130,7 @@ fun Main() {
Components.INPUT_INTEGER -> InputIntegerScreen()
Components.INPUT_NUMBER -> InputNumberScreen()
Components.INPUT_LETTER -> InputLetterScreen()
Components.AGE_FIELD -> AgeFieldScreen()
Components.AGE_FIELD -> InputAgeScreen()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import org.hisp.dhis.mobile.ui.designsystem.component.RadioButtonData
import org.hisp.dhis.mobile.ui.designsystem.component.SubTitle

@Composable
fun AgeFieldScreen() {
fun InputAgeScreen() {
ColumnComponentContainer("Age Field components") {
SubTitle("Horizontal Age Field Helper")
var selectedFieldHorizontal by remember {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ enum class AgeFieldHelperValues(val value: String) {
YEARS("Years"),
MONTHS("Months"),
DAYS("Days"),
}
}

0 comments on commit bc81fe9

Please sign in to comment.