diff --git a/uYouPlus.xm b/uYouPlus.xm index 49bf91d..de5c509 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -675,12 +675,9 @@ static void replaceTab(YTIGuideResponse *response) { // Hide Dark Overlay Background %group gHideOverlayDarkBackground -%hook UIView -- (void)setBackgroundColor:(UIColor *)color { - if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) { - color = nil; - } - %orig; +%hook YTMainAppVideoPlayerOverlayView +- (void)setBackgroundVisible:(BOOL)arg1 isGradientBackground:(BOOL)arg2 { + %orig(NO, arg2); } %end %end