Loading core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/TextInput.kt +7 −5 Original line number Diff line number Diff line Loading @@ -30,6 +30,12 @@ fun TextInput( contentPadding = contentPadding, errorMessage = errorMessage, ) { val textFieldModifier = if (contentType != null) { Modifier.semantics { this.contentType = contentType } } else { Modifier } TextFieldOutlined( value = text, onValueChange = onTextChange, Loading @@ -38,11 +44,7 @@ fun TextInput( isRequired = isRequired, hasError = errorMessage != null, isSingleLine = isSingleLine, modifier = Modifier.fillMaxWidth().semantics { if (contentType != null) { this.contentType = contentType } }, modifier = textFieldModifier.fillMaxWidth(), keyboardOptions = keyboardOptions, ) } Loading Loading
core/ui/compose/designsystem/src/main/kotlin/app/k9mail/core/ui/compose/designsystem/molecule/input/TextInput.kt +7 −5 Original line number Diff line number Diff line Loading @@ -30,6 +30,12 @@ fun TextInput( contentPadding = contentPadding, errorMessage = errorMessage, ) { val textFieldModifier = if (contentType != null) { Modifier.semantics { this.contentType = contentType } } else { Modifier } TextFieldOutlined( value = text, onValueChange = onTextChange, Loading @@ -38,11 +44,7 @@ fun TextInput( isRequired = isRequired, hasError = errorMessage != null, isSingleLine = isSingleLine, modifier = Modifier.fillMaxWidth().semantics { if (contentType != null) { this.contentType = contentType } }, modifier = textFieldModifier.fillMaxWidth(), keyboardOptions = keyboardOptions, ) } Loading