Skip to content

Commit be39f87

Browse files
committed
fix(router): update country filter usage in router
- Replace 'usage' parameter with 'filter' parameter in CountryFilterPage - Change from string value 'eventCountry' to CountryFilterUsage enum - Improve type safety and clarity in router configuration
1 parent b5039a4 commit be39f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/router/router.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ GoRouter createRouter({
546546
child: CountryFilterPage(
547547
title:
548548
l10n.headlinesFeedFilterEventCountryLabel,
549-
usage: 'eventCountry',
549+
filter: CountryFilterUsage.hasActiveHeadlines,
550550
key: ValueKey(initialSelection.hashCode),
551551
),
552552
),

0 commit comments

Comments
 (0)