[PM-11398] [PM-10872] - Fix: Search fields not showing text correctly (#3840)

This commit is contained in:
Mathias Mader 2024-09-03 20:37:30 +02:00 committed by GitHub
parent ae685c73d2
commit 2597c44117
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,7 @@ import com.x8bit.bitwarden.ui.platform.components.util.rememberVectorPainter
* - an editable [TextField] populated by a [searchTerm] in the middle.
*/
@OptIn(ExperimentalMaterial3Api::class)
@Suppress("LongMethod")
@Composable
fun BitwardenSearchTopAppBar(
searchTerm: String,
@ -79,6 +80,7 @@ fun BitwardenSearchTopAppBar(
),
placeholder = { Text(text = placeholder) },
value = searchTerm,
singleLine = true,
onValueChange = onSearchTermChange,
trailingIcon = {
IconButton(