File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class HeadlinesSearchBloc
184
184
rawResponse = await _headlinesRepository.readAllByQuery ({
185
185
'q' : searchTerm,
186
186
'model' : modelType.toJson (),
187
- }, limit: _limit, );
187
+ }, limit: _limit);
188
188
final headlines = rawResponse.items.cast <Headline >();
189
189
final currentUser = _appBloc.state.user;
190
190
final appConfig = _appBloc.state.appConfig;
@@ -208,13 +208,13 @@ class HeadlinesSearchBloc
208
208
rawResponse = await _categoryRepository.readAllByQuery ({
209
209
'q' : searchTerm,
210
210
'model' : modelType.toJson (),
211
- }, limit: _limit, );
211
+ }, limit: _limit);
212
212
processedItems = rawResponse.items.cast <FeedItem >();
213
213
case SearchModelType .source:
214
214
rawResponse = await _sourceRepository.readAllByQuery ({
215
215
'q' : searchTerm,
216
216
'model' : modelType.toJson (),
217
- }, limit: _limit, );
217
+ }, limit: _limit);
218
218
processedItems = rawResponse.items.cast <FeedItem >();
219
219
}
220
220
emit (
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import 'package:ht_main/bootstrap.dart';
3
3
4
4
// Define the current application environment here.
5
5
// Change this value to switch between environments for local development.
6
- const app_config. AppEnvironment currentEnvironment =
7
- app_config.AppEnvironment .development; // production/development/demo
6
+ // production/development/demo
7
+ const currentEnvironment = app_config.AppEnvironment .development;
8
8
9
9
void main () async {
10
10
final appConfig = switch (currentEnvironment) {
You can’t perform that action at this time.
0 commit comments