Fix 'Disable double tap to seek' option

This commit is contained in:
dayanch96
2023-06-30 15:29:42 +03:00
parent 0a98d61920
commit 886c40b15d
+2 -2
View File
@@ -266,8 +266,8 @@
%end
// Disable Double Tap To Seek
%hook YTDoubleTapToSeekController
- (void)enableDoubleTapToSeek:(BOOL)arg1 { kNoDoubleTapToSeek ? %orig(NO) : %orig; }
%hook YTMainAppVideoPlayerOverlayViewController
- (BOOL)allowDoubleTapToSeekGestureRecognizer { return kNoDoubleTapToSeek ? NO : %orig; }
%end
// Fit 'Play All' Buttons Text For Localizations