File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:flutter_bloc/flutter_bloc.dart' ;
3
- import 'package:go_router/go_router.dart' ;
4
3
import 'package:ht_main/account/bloc/account_bloc.dart' ;
5
4
import 'package:ht_main/headlines-feed/widgets/headline_item_widget.dart' ;
6
5
import 'package:ht_main/l10n/l10n.dart' ;
7
6
import 'package:ht_main/router/routes.dart' ;
8
7
import 'package:ht_main/shared/widgets/widgets.dart' ;
9
- import 'package:ht_shared/ht_shared.dart' show Headline;
10
8
11
9
/// {@template saved_headlines_page}
12
10
/// Displays the list of headlines saved by the user.
Original file line number Diff line number Diff line change @@ -143,22 +143,22 @@ class HeadlinesSearchBloc
143
143
response = await _headlinesRepository.readAllByQuery ({
144
144
'q' : searchTerm,
145
145
'model' : modelType.toJson (),
146
- }, limit: _limit, );
146
+ }, limit: _limit);
147
147
case SearchModelType .category:
148
148
response = await _categoryRepository.readAllByQuery ({
149
149
'q' : searchTerm,
150
150
'model' : modelType.toJson (),
151
- }, limit: _limit, );
151
+ }, limit: _limit);
152
152
case SearchModelType .source:
153
153
response = await _sourceRepository.readAllByQuery ({
154
154
'q' : searchTerm,
155
155
'model' : modelType.toJson (),
156
- }, limit: _limit, );
156
+ }, limit: _limit);
157
157
case SearchModelType .country:
158
158
response = await _countryRepository.readAllByQuery ({
159
159
'q' : searchTerm,
160
160
'model' : modelType.toJson (),
161
- }, limit: _limit, );
161
+ }, limit: _limit);
162
162
}
163
163
emit (
164
164
HeadlinesSearchSuccess (
You can’t perform that action at this time.
0 commit comments