From 2bb51da97b18e4ce0727a35bed1e6907c0362052 Mon Sep 17 00:00:00 2001 From: Kelrap <99418823+Kelrap@users.noreply.github.com> Date: Mon, 29 Dec 2025 11:20:17 -0500 Subject: [PATCH] What now button takes user to top of course plan page (#4946) * Add scrollController to course details pages * Make what now button refresh details tab if needed, remove scrollController --- lib/pangea/course_chats/course_chats_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pangea/course_chats/course_chats_view.dart b/lib/pangea/course_chats/course_chats_view.dart index 47a297960..ce4b41310 100644 --- a/lib/pangea/course_chats/course_chats_view.dart +++ b/lib/pangea/course_chats/course_chats_view.dart @@ -155,7 +155,7 @@ class CourseChatsView extends StatelessWidget { title: Text(L10n.of(context).whatNow), subtitle: Text(L10n.of(context).chooseNextActivity), trailing: const Icon(Icons.arrow_forward), - onTap: () => context.go( + onTap: () => context.pushReplacement( "/rooms/spaces/${room.id}/details?tab=course", ), )