From b002c1650c40a1084f8efc20fe710a309f7518fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 24 Nov 2022 16:41:06 +0100 Subject: [PATCH 1/2] MOBILE-4081 course: hasInfo condition should be the same as in HTML. --- src/core/features/course/components/module/module.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/features/course/components/module/module.ts b/src/core/features/course/components/module/module.ts index 5aa7db4c1..fa88c7094 100644 --- a/src/core/features/course/components/module/module.ts +++ b/src/core/features/course/components/module/module.ts @@ -93,9 +93,7 @@ export class CoreCourseModuleComponent implements OnInit, OnDestroy { this.hasInfo = !!( this.module.description || (this.showActivityDates && this.module.dates && this.module.dates.length) || - (this.autoCompletionTodo) || - (this.module.visible === 0 && (!this.section || this.section.visible)) || - (this.module.visible !== 0 && this.module.isStealth) || + (this.autoCompletionTodo && !this.showLegacyCompletion) || (this.module.availabilityinfo) ); From 66ba4bf65905bec8eec871ad7b15e3d77ed7699b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 24 Nov 2022 17:18:38 +0100 Subject: [PATCH 2/2] MOBILE-4081 modals: Fix backdropDismiss on iOS --- src/theme/theme.base.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index f1206c51f..f0245c87c 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -702,6 +702,10 @@ body.core-iframe-fullscreen ion-router-outlet { ion-backdrop { visibility: visible; } + + .modal-shadow { + display: none; + } } .core-modal-transparent-no-filter {