Skip to content

Commit

Permalink
[Compose] Make search field single line
Browse files Browse the repository at this point in the history
  • Loading branch information
jossiwolf committed Feb 16, 2021
1 parent c410c4e commit 3987b8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ fun LottieFilesSearchPage(
value = state.query,
onValueChange = onQueryChanged,
label = { Text(stringResource(R.string.query)) },
modifier = Modifier.fillMaxWidth().padding(horizontal = 16.dp)
modifier = Modifier.fillMaxWidth().padding(horizontal = 16.dp),
singleLine = true
)
LazyColumn(
modifier = Modifier.weight(1f)
Expand Down

0 comments on commit 3987b8e

Please sign in to comment.