From 76b6c5dc0e24cca675ca6edbe53f3f03a4f8dee4 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Mon, 21 Nov 2022 12:52:52 +0100 Subject: [PATCH] MOBILE-4042 core: Enable swipe-navigation in tablets --- src/core/directives/swipe-navigation.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/directives/swipe-navigation.ts b/src/core/directives/swipe-navigation.ts index e81959e56..1a5584a5f 100644 --- a/src/core/directives/swipe-navigation.ts +++ b/src/core/directives/swipe-navigation.ts @@ -18,7 +18,6 @@ import { CoreSwipeNavigationTourComponent } from '@components/swipe-navigation-t import { CoreUserTours } from '@features/usertours/services/user-tours'; import { Gesture, GestureDetail } from '@ionic/angular'; import { CorePlatform } from '@services/platform'; -import { CoreScreen } from '@services/screen'; import { GestureController } from '@singletons'; const ACTIVATION_THRESHOLD = 150; @@ -47,7 +46,7 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy { } get enabled(): boolean { - return CoreScreen.isMobile && !!this.manager; + return !!this.manager; } /**