Update uYouPlus.xm

This commit is contained in:
aricloverEXTRA 2025-03-15 13:58:09 -05:00 committed by GitHub
parent 0448e2371d
commit de56b54e02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -273,7 +273,19 @@ YTMainAppControlsOverlayView *controlsOverlayView;
}
%end
// Fixes uYou crash when trying to play video (qnblackcat/#1422) - @Dayanch96
// Fixes uYou crash when trying to play video (#1422)
@interface YTVarispeedSwitchController : NSObject
@end
@interface YTPlayerOverlayManager : NSObject
@property (nonatomic, assign) float currentPlaybackRate;
@property (nonatomic, strong, readonly) YTVarispeedSwitchController *varispeedController;
- (void)varispeedSwitchController:(YTVarispeedSwitchController *)varispeed didSelectRate:(float)rate;
- (void)setCurrentPlaybackRate:(float)rate;
- (void)setPlaybackRate:(float)rate;
@end
%hook YTPlayerOverlayManager
%property (nonatomic, assign) float currentPlaybackRate;