Gesture settings

This commit is contained in:
Bryce Hackel
2024-08-14 22:20:36 -07:00
parent 10882e5d61
commit e92ada8427
3 changed files with 79 additions and 4 deletions

View File

@@ -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