filtering by author works

This commit is contained in:
Odweta
2026-03-23 11:50:17 +01:00
parent 5c7e2dea57
commit ff655e2dcf
2 changed files with 16 additions and 20 deletions
+2 -4
View File
@@ -30,7 +30,7 @@ class ListPage extends StatelessWidget {
return Center(child: Text(provider.error!));
}
final quoteCount = provider.quotes.length;
final quoteCount = provider.filteredQuotes.length;
return
Column(
@@ -229,9 +229,7 @@ class ListPage extends StatelessWidget {
),
IconButton(
icon: Icon(Icons.search),
onPressed: () {
provider.filterQuotes;
},
onPressed: provider.filterQuotes,
),
IconButton(
icon: Icon(Icons.more_horiz),