From 706abda7b373ace437c9d924f2234dce215a7f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 14 Sep 2023 17:30:45 +0200 Subject: [PATCH] Revert "MOBILE-4372 course-format: Change user tour alignment in RTL" This reverts commit abc6461f36269ce071b4597a69e476f3b4c1d8f6. --- .../features/course/components/course-format/course-format.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/features/course/components/course-format/course-format.ts b/src/core/features/course/components/course-format/course-format.ts index d9e925eb9..3c432a9c1 100644 --- a/src/core/features/course/components/course-format/course-format.ts +++ b/src/core/features/course/components/course-format/course-format.ts @@ -51,7 +51,6 @@ import { CoreCourseCourseIndexTourComponent } from '../course-index-tour/course- import { CoreDom } from '@singletons/dom'; import { CoreUserTourDirectiveOptions } from '@directives/user-tour'; import { CoreAnalytics, CoreAnalyticsEventType } from '@services/analytics'; -import { CorePlatform } from '@services/platform'; import { CoreBlockSideBlocksComponent } from '@features/block/components/side-blocks/side-blocks'; /** @@ -96,7 +95,7 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy { id: 'course-index', component: CoreCourseCourseIndexTourComponent, side: CoreUserToursSide.Top, - alignment: CorePlatform.isRTL ? CoreUserToursAlignment.Start : CoreUserToursAlignment.End, + alignment: CoreUserToursAlignment.End, getFocusedElement: nativeButton => { const innerButton = Array.from(nativeButton.shadowRoot?.children ?? []).find(child => child.tagName === 'BUTTON');