WT1.1.18+2 Training Plan days, skip
This commit is contained in:
@@ -40,7 +40,6 @@ class TutorialBloc extends Bloc<TutorialEvent, TutorialState> with Logging {
|
||||
|
||||
init() {
|
||||
if (Cache().tutorials != null) {
|
||||
print("Actual step: $step");
|
||||
final List<Tutorial> tutorials = Cache().tutorials!;
|
||||
tutorials.forEach((element) {
|
||||
final String realTutorialName = tutorialName.replaceFirst("tutorial", "").toLowerCase();
|
||||
@@ -64,7 +63,7 @@ class TutorialBloc extends Bloc<TutorialEvent, TutorialState> with Logging {
|
||||
actualText = tutorial!.steps![step].tutorialTextTranslation;
|
||||
|
||||
this.actualCheck = tutorial!.steps![step].checkText;
|
||||
print("Step: $step, text: $actualCheck");
|
||||
|
||||
this.checks = [];
|
||||
|
||||
if (this.actualCheck != null) {
|
||||
@@ -91,7 +90,6 @@ class TutorialBloc extends Bloc<TutorialEvent, TutorialState> with Logging {
|
||||
}
|
||||
bool? isActivityDone = Cache().activitiesDone[activityDone.toStr()];
|
||||
|
||||
log("$tutorialName isActivityDone? $isActivityDone");
|
||||
if (isActivityDone == null || isActivityDone == true) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user