Skip to content

Commit af8e019

Browse files
committed
fix(account): update topic details page navigation
- Replace EntityDetailsPageArguments with individual parameters - Pass topic id and content type separately to EntityDetailsPageArguments
1 parent 41155a1 commit af8e019

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/account/view/manage_followed_items/topics/followed_topics_list_page.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ class FollowedTopicsListPage extends StatelessWidget {
104104
onTap: () {
105105
context.push(
106106
Routes.topicDetails,
107-
extra: EntityDetailsPageArguments(entity: topic),
107+
extra: EntityDetailsPageArguments(
108+
entityId: topic.id,
109+
contentType: ContentType.topic,
110+
),
108111
);
109112
},
110113
);

0 commit comments

Comments
 (0)