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; } /**