MOBILE-3932 resource: Fix message displayed when outdated and offline
parent
49afa105bc
commit
45b2cdec47
|
@ -208,7 +208,7 @@ export class AddonModResourceIndexComponent extends CoreCourseModuleMainResource
|
||||||
// Warn the user that the file isn't updated.
|
// Warn the user that the file isn't updated.
|
||||||
const alert = await CoreDomUtils.showAlert(
|
const alert = await CoreDomUtils.showAlert(
|
||||||
undefined,
|
undefined,
|
||||||
Translate.instant('addon.mod_resource.resourcestatusoutdated'),
|
Translate.instant('addon.mod_resource.resourcestatusoutdatedconfirm'),
|
||||||
);
|
);
|
||||||
|
|
||||||
await alert.onWillDismiss();
|
await alert.onWillDismiss();
|
||||||
|
|
Loading…
Reference in New Issue