LocationPreference: single line text field
This commit is contained in:
parent
2b3323bf7f
commit
7b2ae4c8ac
@ -139,7 +139,9 @@ fun LocationPreference(
|
|||||||
)
|
)
|
||||||
var query by remember { mutableStateOf("") }
|
var query by remember { mutableStateOf("") }
|
||||||
OutlinedTextField(
|
OutlinedTextField(
|
||||||
value = query, onValueChange = {
|
singleLine = true,
|
||||||
|
value = query,
|
||||||
|
onValueChange = {
|
||||||
query = it
|
query = it
|
||||||
onLocationSearch(it)
|
onLocationSearch(it)
|
||||||
}, modifier = Modifier
|
}, modifier = Modifier
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user