change background color for searchbar in contacts screen

not the best solution. Needs to be improved with theming of Compose.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-09-11 09:56:54 +02:00
parent 3d1644a76d
commit 2549e884fd
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -37,7 +37,7 @@ fun DisplaySearch(text: String, onTextChange: (String) -> Unit, contactsViewMode
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.height(60.dp) .height(60.dp)
.background(color = colorResource(id = R.color.grey_600)), .background(color = colorResource(id = R.color.appbar)),
value = text, value = text,
onValueChange = { onTextChange(it) }, onValueChange = { onTextChange(it) },
placeholder = { placeholder = {