Skip to content

Commit 93e81f1

Browse files
committed
feat(account): enhance manage followed items page
- Update page title to use more specific localization key - Change topic icon to category icon for better representation - Add followed countries list tile with appropriate icon and navigation
1 parent 53bf7c6 commit 93e81f1

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

lib/account/view/manage_followed_items/manage_followed_items_page.dart

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
3030
padding: const EdgeInsets.symmetric(vertical: AppSpacing.paddingSmall),
3131
children: [
3232
ListTile(
33-
leading: Icon(Icons.topic_outlined, color: colorScheme.primary),
33+
leading: Icon(Icons.category_outlined, color: colorScheme.primary),
3434
title: Text(
3535
l10n.headlinesFeedFilterTopicLabel,
3636
style: textTheme.titleMedium,
@@ -59,6 +59,21 @@ class ManageFollowedItemsPage extends StatelessWidget {
5959
indent: AppSpacing.paddingMedium,
6060
endIndent: AppSpacing.paddingMedium,
6161
),
62+
ListTile(
63+
leading: Icon(Icons.add_location_alt_outlined, color: colorScheme.primary),
64+
title: Text(
65+
l10n.accountFollowedCountriesTile,
66+
style: textTheme.titleMedium,
67+
),
68+
trailing: const Icon(Icons.chevron_right),
69+
onTap: () {
70+
context.goNamed(Routes.followedCountriesListName);
71+
},
72+
),
73+
const Divider(
74+
indent: AppSpacing.paddingMedium,
75+
endIndent: AppSpacing.paddingMedium,
76+
),
6277
],
6378
),
6479
);

0 commit comments

Comments
 (0)