diff --git a/lib/pangea/widgets/practice_activity/practice_activity_card.dart b/lib/pangea/widgets/practice_activity/practice_activity_card.dart index ab4f59451..7e80e2aaa 100644 --- a/lib/pangea/widgets/practice_activity/practice_activity_card.dart +++ b/lib/pangea/widgets/practice_activity/practice_activity_card.dart @@ -248,12 +248,13 @@ class MessagePracticeActivityCardState extends State { 'record': currentCompletionRecord, }, ); + + // clear the current activity and record + currentActivity = null; + currentCompletionRecord = null; + widget.overlayController.exitPracticeFlow(); }); - - // clear the current activity and record - currentActivity = null; - currentCompletionRecord = null; } RepresentationEvent? get representation =>