Skip to content

Commit 08d9a78

Browse files
committed
refactor(headlines-feed): remove source country filter tile
- Remove the filter tile for source countries in the headlines filter page - This change simplifies the filter options and improves the user interface
1 parent 6cd8fe0 commit 08d9a78

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/headlines-feed/view/headlines_filter_page.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -429,19 +429,6 @@ class _HeadlinesFilterPageState extends State<HeadlinesFilterPage> {
429429
}
430430
},
431431
),
432-
_buildFilterTile(
433-
context: context,
434-
title: l10n.headlinesFeedFilterSourceCountryLabel,
435-
enabled: !_useFollowedFilters && !_isLoadingFollowedFilters,
436-
selectedCount: _tempSelectedSourceCountries.length,
437-
routeName: Routes.feedFilterSourceCountriesName,
438-
currentSelectionData: _tempSelectedSourceCountries,
439-
onResult: (result) {
440-
if (result is List<Country>) {
441-
setState(() => _tempSelectedSourceCountries = result);
442-
}
443-
},
444-
),
445432
],
446433
),
447434
);

0 commit comments

Comments
 (0)