Отступы у searchbar'а

This commit is contained in:
mezhendosina 2023-06-08 17:16:30 +05:00
parent b17e853103
commit c32ea30772

View file

@ -183,7 +183,7 @@ fun SensorsPage(navController: NavController) {
onQueryChange = { query -> searchQuery = query },
onSearch = { searchActive = false },
placeholder = { Text(stringResource(R.string.search)) },
modifier = Modifier.fillMaxWidth()
modifier = Modifier.fillMaxWidth().padding(horizontal = if(!searchActive) 8.dp else 0.dp)
) {}
Row(