Skip to content

Commit 8987900

Browse files
committed
fix(account): update country details page navigation
- Replace EntityDetailsPageArguments with entityId and contentType - Improve type safety and navigation accuracy in followed countries list
1 parent e0e790b commit 8987900

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/account/view/manage_followed_items/countries/followed_countries_list_page.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ class FollowedCountriesListPage extends StatelessWidget {
9999
onTap: () {
100100
context.push(
101101
Routes.countryDetails,
102-
extra: EntityDetailsPageArguments(entity: country),
102+
extra: EntityDetailsPageArguments(
103+
entityId: country.id,
104+
contentType: ContentType.country,
105+
),
103106
);
104107
},
105108
);

0 commit comments

Comments
 (0)