feat: remove select all icon from searchbar (#669)

This commit is contained in:
Mipirakas 2023-01-30 13:13:25 +01:00 committed by GitHub
parent 8591bc4d01
commit f5bc1a996f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,6 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
horizontal: 12.0, horizontal: 12.0,
), ),
child: SearchBar( child: SearchBar(
showSelectIcon: true,
hintText: FlutterI18n.translate( hintText: FlutterI18n.translate(
context, context,
'patchesSelectorView.searchBarHint', 'patchesSelectorView.searchBarHint',
@ -113,12 +112,6 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
_query = searchQuery; _query = searchQuery;
}); });
}, },
onSelectAll: (value) {
if (value) {
model.selectAllPatcherWarning(context);
}
model.selectAllPatches(value);
},
), ),
), ),
), ),