From 08784c4819754c26de25632ae95e5264851482b6 Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:35:01 -0500 Subject: [PATCH] Update YTLite.x --- YTLite.x | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/YTLite.x b/YTLite.x index 9c5112f..f6e44f7 100644 --- a/YTLite.x +++ b/YTLite.x @@ -215,6 +215,10 @@ %end // Remove Dark Background in Overlay +%hook YTMainAppVideoPlayerOverlayView +- (void)setBackgroundVisible:(BOOL)arg1 isGradientBackground:(BOOL)arg2 { kNoDarkBg ? %orig(NO, arg2) : %orig; } +%end +/* %hook UIView - (void)setBackgroundColor:(UIColor *)color { if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) { @@ -225,6 +229,7 @@ %orig; } %end +*/ // No Endscreen Cards %hook YTCreatorEndscreenView