Skip to content

Commit 486d8d1

Browse files
committed
use full space for search text field
Signed-off-by: Marcel Hibbe <[email protected]>
1 parent 84d09d0 commit 486d8d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/nextcloud/talk/contacts/components/ContactsSearchAppBar.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ fun ContactsSearchAppBar(
6666
onValueChange = onTextChange,
6767
placeholder = { Text(text = stringResource(R.string.nc_search)) },
6868
singleLine = true,
69+
modifier = Modifier
70+
.weight(1f)
71+
.padding(horizontal = 8.dp),
6972
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Search),
7073
keyboardActions = searchKeyboardActions(searchQuery, keyboardController),
7174
colors = searchTextFieldColors(),

0 commit comments

Comments
 (0)