mirror of
https://github.com/bitwarden/android.git
synced 2024-11-24 10:25:57 +03:00
[PM-11398] [PM-10872] - Fix: Search fields not showing text correctly (#3840)
This commit is contained in:
parent
ae685c73d2
commit
2597c44117
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue