nausharipov commented on code in PR #25298:
URL: https://github.com/apache/beam/pull/25298#discussion_r1095565279
##########
learning/tour-of-beam/frontend/lib/pages/tour/state.dart:
##########
@@ -136,11 +142,123 @@ class TourNotifier extends ChangeNotifier with
PageStateMixin<void> {
if (content == null) {
return;
}
- final taskSnippetId = content.taskSnippetId;
- await _setPlaygroundSnippet(taskSnippetId);
- _isShowingSolution = false;
+
+ await _updateHasSavedSnippet();
+ _setSnippetTypeSavedIfCan();
+ await _setCurrentSnippetFromType();
+ notifyListeners();
+ }
+
+ // Save user code.
Review Comment:
Save user code part will be extracted into a separate class in the [Save
user code for anonymous user](https://github.com/apache/beam/issues/25283) task.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]