Merge pull request #3453 from NoelDeMartin/MOBILE-4042

MOBILE-4042 core: Enable swipe-navigation in tablets
main
Dani Palou 2022-11-22 08:00:54 +01:00 committed by GitHub
commit 66fc964940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
/**