fix: search stuck at loading state (#1676)
This commit is contained in:
commit
c120f9de97
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class SearchWidgetState extends State<SearchWidget> {
|
|||
String query,
|
||||
) {
|
||||
int resultCount = 0;
|
||||
final maxResultCount = _isYearValid(query) ? 12 : 11;
|
||||
final maxResultCount = _isYearValid(query) ? 11 : 10;
|
||||
final streamController = StreamController<List<SearchResult>>();
|
||||
|
||||
if (query.isEmpty) {
|
||||
|
|
Loading…
Add table
Reference in a new issue