LocationPreference: single line text field

This commit is contained in:
MM20 2022-01-02 15:54:45 +01:00
parent 2b3323bf7f
commit 7b2ae4c8ac
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -139,7 +139,9 @@ fun LocationPreference(
)
var query by remember { mutableStateOf("") }
OutlinedTextField(
value = query, onValueChange = {
singleLine = true,
value = query,
onValueChange = {
query = it
onLocationSearch(it)
}, modifier = Modifier