WT1.1.10+5 bugfix
This commit is contained in:
@@ -21,6 +21,7 @@ class ExerciseTreeApi with Logging {
|
||||
await Future.forEach(exerciseTree, (element) async {
|
||||
element.imageUrl = await buildImage(element.imageUrl, element.treeId);
|
||||
});
|
||||
exerciseTree = await getExerciseTreeParents(exerciseTree);
|
||||
log("ExerciseTree downloaded");
|
||||
Cache().setExerciseTree(exerciseTree);
|
||||
}
|
||||
|
||||
@@ -66,7 +66,6 @@ class PackageApi {
|
||||
exerciseTree = this.getExerciseTreeParents(exerciseTree, exerciseTreeParents);
|
||||
if (exerciseTree != null) {
|
||||
await Future.forEach(exerciseTree, (element) async {
|
||||
print("Tree ${element.toJson()}");
|
||||
element.imageUrl = await ExerciseTreeApi().buildImage(element.imageUrl, element.treeId);
|
||||
});
|
||||
Cache().setExerciseTree(exerciseTree);
|
||||
|
||||
Reference in New Issue
Block a user