MOBILE-4042 core: Enable swipe-navigation in tablets

main
Noel De Martin 2022-11-21 12:52:52 +01:00
parent e1e1d796b9
commit 76b6c5dc0e
1 changed files with 1 additions and 2 deletions

View File

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