mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
restrict room name to single line
This commit is contained in:
+1
@@ -54,6 +54,7 @@ fun LabelledTextField(
|
|||||||
value = value,
|
value = value,
|
||||||
placeholder = { Text(placeholder) },
|
placeholder = { Text(placeholder) },
|
||||||
onValueChange = onValueChange,
|
onValueChange = onValueChange,
|
||||||
|
singleLine = maxLines == 1,
|
||||||
maxLines = maxLines,
|
maxLines = maxLines,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user