Skip to content

Commit e46c158

Browse files
committed
feat(account): navigate to followed items pages
- Implemented navigation - Removed temporary print statements
1 parent 27bcde7 commit e46c158

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

lib/account/view/manage_followed_items_page.dart

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
2828
title: Text(l10n.headlinesFeedFilterCategoryLabel), // "Categories"
2929
trailing: const Icon(Icons.chevron_right),
3030
onTap: () {
31-
// TODO(cline): Replace with actual route name once defined
32-
// context.goNamed(Routes.followedCategoriesListName);
33-
print('Navigate to Followed Categories List Page');
31+
context.goNamed(Routes.followedCategoriesListName);
3432
},
3533
),
3634
const Divider(indent: AppSpacing.lg, endIndent: AppSpacing.lg),
@@ -39,9 +37,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
3937
title: Text(l10n.headlinesFeedFilterSourceLabel), // "Sources"
4038
trailing: const Icon(Icons.chevron_right),
4139
onTap: () {
42-
// TODO(cline): Replace with actual route name once defined
43-
// context.goNamed(Routes.followedSourcesListName);
44-
print('Navigate to Followed Sources List Page');
40+
context.goNamed(Routes.followedSourcesListName);
4541
},
4642
),
4743
const Divider(indent: AppSpacing.lg, endIndent: AppSpacing.lg),
@@ -50,9 +46,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
5046
title: Text(l10n.headlinesFeedFilterEventCountryLabel), // "Countries"
5147
trailing: const Icon(Icons.chevron_right),
5248
onTap: () {
53-
// TODO(cline): Replace with actual route name once defined
54-
// context.goNamed(Routes.followedCountriesListName);
55-
print('Navigate to Followed Countries List Page');
49+
context.goNamed(Routes.followedCountriesListName);
5650
},
5751
),
5852
const Divider(indent: AppSpacing.lg, endIndent: AppSpacing.lg),

0 commit comments

Comments
 (0)