mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +00:00
Fix: Clear search when hiting cancel
This commit is contained in:
parent
4afa902d0a
commit
24dd888e5b
@ -152,6 +152,8 @@ fun ExpandedSearchView(
|
||||
icon = Icons.Rounded.Close,
|
||||
description = stringResource(id = R.string.cancel),
|
||||
onClick = {
|
||||
textFieldValue = TextFieldValue(text = "")
|
||||
focusManager.clearFocus()
|
||||
onExpanded(false)
|
||||
onClose()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user