From b6a6dd13f6b5566658580045d773db335d7d1789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 1 Apr 2019 11:58:57 +0200 Subject: [PATCH] MOBILE-2873 sync: Sync before prefetch single module --- src/core/course/providers/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/course/providers/helper.ts b/src/core/course/providers/helper.ts index fa1fd33f5..26471354e 100644 --- a/src/core/course/providers/helper.ts +++ b/src/core/course/providers/helper.ts @@ -1245,7 +1245,7 @@ export class CoreCourseHelperProvider { return promise.catch(() => { // Ignore errors. }).then(() => { - return handler.prefetch(module, courseId, true); + return this.prefetchDelegate.prefetchModule(module, courseId, true); }); }); }