From c1239911df2eb697e60ab3fd3c1476838246b47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manu=20Mu=C3=B1oz?= Date: Mon, 23 Dec 2024 11:55:01 +0100 Subject: [PATCH] fix string resource label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manu Muñoz --- .../teiDashboard/dialogs/scheduling/SchedulingDialogUi.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialogUi.kt b/app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialogUi.kt index 4edfd3717e..e9bbffb3f3 100644 --- a/app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialogUi.kt +++ b/app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialogUi.kt @@ -46,6 +46,7 @@ import org.hisp.dhis.mobile.ui.designsystem.component.RadioButtonData import org.hisp.dhis.mobile.ui.designsystem.resource.provideStringResource import org.hisp.dhis.mobile.ui.designsystem.theme.Spacing import org.hisp.dhis.mobile.ui.designsystem.theme.TextColor +import java.util.Locale @Composable fun SchedulingDialogUi( @@ -64,7 +65,7 @@ fun SchedulingDialogUi( it.value, selected = false, enabled = true, - textInput = provideStringResource(it.value), + textInput = provideStringResource(it.value.lowercase(Locale.getDefault())), ) } var optionSelected by remember { mutableStateOf(yesNoOptions.first()) }