From 2c03411b32f0a1e6939e9e7e6299d5837abe2a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Saleniuk?= Date: Wed, 12 Jun 2024 12:51:13 +0200 Subject: [PATCH] fix: change default lineLimits for text fields to be single-line --- .../com/wire/android/ui/common/textfield/WireTextField.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/common/textfield/WireTextField.kt b/app/src/main/kotlin/com/wire/android/ui/common/textfield/WireTextField.kt index 07aeee2a304..100d1793f6c 100644 --- a/app/src/main/kotlin/com/wire/android/ui/common/textfield/WireTextField.kt +++ b/app/src/main/kotlin/com/wire/android/ui/common/textfield/WireTextField.kt @@ -75,7 +75,7 @@ internal fun WireTextField( trailingIcon: @Composable (() -> Unit)? = null, state: WireTextFieldState = WireTextFieldState.Default, autoFillType: WireAutoFillType = WireAutoFillType.None, - lineLimits: TextFieldLineLimits = TextFieldLineLimits.Default, + lineLimits: TextFieldLineLimits = TextFieldLineLimits.SingleLine, inputTransformation: InputTransformation = InputTransformation.maxLength(8000), outputTransformation: OutputTransformation? = null, keyboardOptions: KeyboardOptions = KeyboardOptions.DefaultText,