From d1af907786f580ef69890e0bf68a5e8f29225aa9 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 6 Sep 2024 17:34:53 +0200 Subject: [PATCH] Disabling placeholder for now, ruins layout --- .../kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt index db37c45..1d07e5c 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt @@ -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