Make users return to activity session when use invite back button (#4288)

This commit is contained in:
Kelrap 2025-10-09 13:02:30 -04:00 committed by GitHub
parent a79b72ffe9
commit 15b052e5a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -334,7 +334,7 @@ class _ActivityStartButtons extends StatelessWidget {
ElevatedButton(
style: buttonStyle,
onPressed: controller.courseParent?.canInvite ?? false
? () => context.go(
? () => context.push(
"/rooms/spaces/${controller.courseParent!.id}/invite",
)
: null,