Ensure SearchBar are displayed with max width.

This commit is contained in:
Benoit Marty 2024-04-04 18:45:56 +02:00
parent 5f071daf64
commit 04eb59bd07
2 changed files with 4 additions and 1 deletions

View file

@ -127,6 +127,7 @@ fun RoomSelectView(
.consumeWindowInsets(paddingValues)
) {
SearchBar(
modifier = Modifier.fillMaxWidth(),
placeHolderTitle = stringResource(CommonStrings.action_search),
query = state.query,
onQueryChange = { state.eventSink(RoomSelectEvents.UpdateQuery(it)) },