Skip to content

Commit

Permalink
feat: [ANDROAPP-5794] ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Feb 23, 2024
1 parent ad6d60d commit 4680ed1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import org.dhis2.form.ui.intent.FormIntent
import org.hisp.dhis.android.core.common.ValueType
import org.hisp.dhis.mobile.ui.designsystem.component.DateTimeActionType
import org.hisp.dhis.mobile.ui.designsystem.component.InputDateTime
import org.hisp.dhis.mobile.ui.designsystem.component.InputStyle
import org.hisp.dhis.mobile.ui.designsystem.component.InputDateTimeModel
import org.hisp.dhis.mobile.ui.designsystem.component.InputStyle
import org.hisp.dhis.mobile.ui.designsystem.component.SelectableDates
import org.hisp.dhis.mobile.ui.designsystem.component.internal.DateTimeTransformation
import org.hisp.dhis.mobile.ui.designsystem.component.internal.DateTransformation
Expand Down Expand Up @@ -99,9 +99,9 @@ fun ProvideInputDate(
selectableDates = selectableDates,
yearRange = yearIntRange,
inputStyle = inputStyle,
),
),
modifier = modifier.semantics { contentDescription = formatStoredDateToUI(value.text, fieldUiModel.valueType) },
)
)
}

private fun formatStoredDateToUI(inputDateString: String, valueType: ValueType?): String {
Expand Down

0 comments on commit 4680ed1

Please sign in to comment.