Update YTLite.x

This commit is contained in:
arichorn
2023-07-25 18:35:01 -05:00
committed by GitHub
parent afd9e6054b
commit 08784c4819
+5
View File
@@ -215,6 +215,10 @@
%end %end
// Remove Dark Background in Overlay // Remove Dark Background in Overlay
%hook YTMainAppVideoPlayerOverlayView
- (void)setBackgroundVisible:(BOOL)arg1 isGradientBackground:(BOOL)arg2 { kNoDarkBg ? %orig(NO, arg2) : %orig; }
%end
/*
%hook UIView %hook UIView
- (void)setBackgroundColor:(UIColor *)color { - (void)setBackgroundColor:(UIColor *)color {
if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) { if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) {
@@ -225,6 +229,7 @@
%orig; %orig;
} }
%end %end
*/
// No Endscreen Cards // No Endscreen Cards
%hook YTCreatorEndscreenView %hook YTCreatorEndscreenView