Disabling placeholder for now, ruins layout
This commit is contained in:
parent
4e4b3944ba
commit
d1af907786
|
@ -93,7 +93,8 @@ fun BottomBar(showMenuDrawer: Boolean = true) {
|
||||||
transactionsFilter.searchTerm,
|
transactionsFilter.searchTerm,
|
||||||
{ value -> transactionsFilter.updateSearchTerm(value) },
|
{ value -> transactionsFilter.updateSearchTerm(value) },
|
||||||
textStyle = TextStyle(color),
|
textStyle = TextStyle(color),
|
||||||
placeholder = { Text("Umsätze suchen ...", color = color.copy(ContentAlpha.medium), modifier = Modifier.height(48.dp)) },
|
// TODO: fix that placeholder ruins layout (e.g. use a smaller text size)
|
||||||
|
// placeholder = { Text("Umsätze suchen ...", color = color.copy(ContentAlpha.medium), modifier = Modifier.height(48.dp)) },
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
trailingIcon = { Icon(Icons.Filled.Close, contentDescription = "Close search bar", tint = color, modifier = Modifier.clickable {
|
trailingIcon = { Icon(Icons.Filled.Close, contentDescription = "Close search bar", tint = color, modifier = Modifier.clickable {
|
||||||
showSearchbar = false
|
showSearchbar = false
|
||||||
|
|
Loading…
Reference in New Issue