From e872eddeea7126ad1bb07a41a7c6efb12adc5283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montwe=CC=81?= Date: Wed, 24 May 2023 17:41:10 +0200 Subject: [PATCH] Add missing label to SelectInput --- .../core/ui/compose/designsystem/molecule/input/SelectInput.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/SelectInput.kt b/core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/SelectInput.kt index 011e6519c..0557928cb 100644 --- a/core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/SelectInput.kt +++ b/core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/SelectInput.kt @@ -18,6 +18,7 @@ fun SelectInput( selectedOption: T, onOptionChange: (T) -> Unit, modifier: Modifier = Modifier, + label: String? = null, contentPadding: PaddingValues = inputContentPadding(), ) { Column( @@ -31,6 +32,7 @@ fun SelectInput( selectedOption = selectedOption, onValueChange = onOptionChange, modifier = Modifier.fillMaxWidth(), + label = label, ) } }