From 03028cee88c543da059addf6089da5709672f7c1 Mon Sep 17 00:00:00 2001 From: "aricloverGitHub (INACTIVE)" <78001398+arichornlover@users.noreply.github.com> Date: Fri, 14 Mar 2025 16:39:51 -0500 Subject: [PATCH] Update uYouPlusPatches.xm --- Sources/uYouPlusPatches.xm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Sources/uYouPlusPatches.xm b/Sources/uYouPlusPatches.xm index 8ebd7c9..5b41be9 100644 --- a/Sources/uYouPlusPatches.xm +++ b/Sources/uYouPlusPatches.xm @@ -395,6 +395,17 @@ static void refreshUYouAppearance() { } %end +%hook YTPlayerViewController + + - (id)varispeedController { + id controller = %orig; + if (controller == nil && [self respondsToSelector:@selector(overlayManager)]) + controller = [self.overlayManager varispeedController]; + return controller; + } + + %end + %ctor { %init; if (IS_ENABLED(kGoogleSignInPatch)) {