MOBILE-2873 sync: Sync before prefetch single module

This commit is contained in:
Pau Ferrer Ocaña 2019-04-01 11:58:57 +02:00
parent f2b63eac76
commit b6a6dd13f6

View File

@ -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);
});
});
}