From 9c73ef97694e9e5b6165e28221aeb5c2ad487d54 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Sat, 3 Aug 2024 10:21:54 +0100 Subject: [PATCH] android, desktop: search placeholder color and size --- .../chat/simplex/common/views/helpers/SearchTextField.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/SearchTextField.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/SearchTextField.kt index ca451bd3a2..896d929480 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/SearchTextField.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/SearchTextField.kt @@ -63,6 +63,7 @@ fun SearchTextField( focusedIndicatorColor = Color.Unspecified, unfocusedIndicatorColor = Color.Unspecified, disabledIndicatorColor = Color.Unspecified, + placeholderColor = MaterialTheme.colors.secondary, ) val shape = MaterialTheme.shapes.small.copy(bottomEnd = ZeroCornerSize, bottomStart = ZeroCornerSize) val interactionSource = remember { MutableInteractionSource() } @@ -88,7 +89,7 @@ fun SearchTextField( textStyle = TextStyle( color = MaterialTheme.colors.onBackground, fontWeight = FontWeight.Normal, - fontSize = 16.sp + fontSize = 15.sp ), interactionSource = interactionSource, decorationBox = @Composable { innerTextField ->