No need to pass maxLines = 1 if singleline = true anymore.

This commit is contained in:
Benoit Marty 2023-06-09 18:16:23 +02:00
parent 9527c6825e
commit 4f4d024a9f
5 changed files with 3 additions and 6 deletions

View file

@ -208,7 +208,6 @@ internal fun LoginForm(
focusManager.moveFocus(FocusDirection.Down)
}),
singleLine = true,
maxLines = 1,
trailingIcon = if (loginFieldState.isNotEmpty()) {
{
IconButton(onClick = {
@ -263,7 +262,6 @@ internal fun LoginForm(
onDone = { onSubmit() }
),
singleLine = true,
maxLines = 1,
)
}
}

View file

@ -127,7 +127,6 @@ fun SearchAccountProviderView(
imeAction = ImeAction.Done,
),
singleLine = true,
maxLines = 1,
trailingIcon = if (userInputState.isNotEmpty()) {
{
IconButton(onClick = {