fix: change select icon default state

This commit is contained in:
Alberto Ponces
2022-08-25 10:28:40 +01:00
parent 9f82b9b275
commit bfbcb510c4
4 changed files with 3 additions and 5 deletions

View File

@ -54,7 +54,7 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
Expanded(
child: ListView(
children: model
.getFilteredPatches(_query)
.getQueriedPatches(_query)
.map((patch) => PatchItem(
name: patch.name,
simpleName: patch.simpleName,

View File

@ -51,7 +51,7 @@ class PatchesSelectorViewModel extends BaseViewModel {
locator<PatcherViewModel>().notifyListeners();
}
List<Patch> getFilteredPatches(String query) {
List<Patch> getQueriedPatches(String query) {
return patches
.where((patch) =>
query.isEmpty ||