Update uYouPlusPatches.xm

This commit is contained in:
aricloverGitHub (INACTIVE) 2025-03-14 16:39:51 -05:00 committed by GitHub
parent f8bb416d30
commit 03028cee88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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