mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
Gesture settings
This commit is contained in:
@@ -657,7 +657,7 @@ BOOL isTabSelected = NO;
|
||||
@end
|
||||
|
||||
// Gestures - @bhackel
|
||||
%group uYouGestures
|
||||
%group playerGestures
|
||||
%hook YTWatchLayerViewController
|
||||
// invoked when the player view controller is either created or destroyed
|
||||
- (void)watchController:(YTWatchController *)watchController didSetPlayerViewController:(YTPlayerViewController *)playerViewController {
|
||||
@@ -1008,8 +1008,8 @@ BOOL isTabSelected = NO;
|
||||
if (IsEnabled(@"disableEngagementOverlay_enabled")) {
|
||||
%init(gDisableEngagementOverlay);
|
||||
}
|
||||
if (IsEnabled(@"uYouGestures_enabled")) {
|
||||
%init(uYouGestures);
|
||||
if (IsEnabled(@"playerGestures_enabled")) {
|
||||
%init(playerGestures);
|
||||
}
|
||||
|
||||
// Change the default value of some options
|
||||
|
Reference in New Issue
Block a user