MOBILE-4666 lesson-index: Show loading when lesson is downloading

main
Alfonso Salces 2024-09-26 16:54:02 +02:00
parent 4c9b69879e
commit 9fddd8f1a9
1 changed files with 4 additions and 2 deletions

View File

@ -193,9 +193,11 @@
</core-tab>
</core-tabs>
<div collapsible-footer *ngIf="!showLoading" slot="fixed">
<div collapsible-footer *ngIf="!showLoading" slot="fixed" [ngClass]="{ 'ion-margin-bottom': showSpinner }">
<div class="list-item-limited-width" *ngIf="!canViewReports && ((lesson && !preventReasons.length) || retakeToReview)">
<ng-container *ngTemplateOutlet="buttons" />
<core-loading [hideUntil]="!showSpinner">
<ng-container *ngTemplateOutlet="buttons" />
</core-loading>
</div>
<core-course-module-navigation [courseId]="courseId" [currentModuleId]="module.id" />