parent
2b0739e37c
commit
a6a4e8a2a9
|
@ -155,11 +155,9 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {
|
|||
prefixIcon: Icons.search_rounded,
|
||||
autoFocus: true,
|
||||
onChange: (value) {
|
||||
value != _searchQuery
|
||||
? setState(() {
|
||||
_searchQuery = value;
|
||||
})
|
||||
: null;
|
||||
setState(() {
|
||||
_searchQuery = value;
|
||||
});
|
||||
},
|
||||
cancellable: true,
|
||||
shouldUnfocusOnCancelOrSubmit: true,
|
||||
|
|
Loading…
Reference in a new issue