in submitFeedback, only set currentActivity to null on error
This commit is contained in:
parent
fe6836d627
commit
e778178638
1 changed files with 5 additions and 4 deletions
|
|
@ -248,12 +248,13 @@ class MessagePracticeActivityCardState extends State<PracticeActivityCard> {
|
|||
'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 =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue