Disabling placeholder for now, ruins layout

This commit is contained in:
dankito 2024-09-06 17:34:53 +02:00
parent 4e4b3944ba
commit d1af907786
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ fun BottomBar(showMenuDrawer: Boolean = true) {
transactionsFilter.searchTerm,
{ value -> transactionsFilter.updateSearchTerm(value) },
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,
trailingIcon = { Icon(Icons.Filled.Close, contentDescription = "Close search bar", tint = color, modifier = Modifier.clickable {
showSearchbar = false