From 886c40b15db206adf587ae749c78b455d44256a1 Mon Sep 17 00:00:00 2001 From: dayanch96 <38832025+dayanch96@users.noreply.github.com> Date: Fri, 30 Jun 2023 15:29:42 +0300 Subject: [PATCH] Fix 'Disable double tap to seek' option --- YTLite.x | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YTLite.x b/YTLite.x index a39e0df..e9b1394 100644 --- a/YTLite.x +++ b/YTLite.x @@ -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