use full space for search text field

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2025-06-20 12:07:47 +02:00
parent 84d09d0e58
commit 486d8d1035
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -66,6 +66,9 @@ fun ContactsSearchAppBar(
onValueChange = onTextChange,
placeholder = { Text(text = stringResource(R.string.nc_search)) },
singleLine = true,
modifier = Modifier
.weight(1f)
.padding(horizontal = 8.dp),
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Search),
keyboardActions = searchKeyboardActions(searchQuery, keyboardController),
colors = searchTextFieldColors(),