Fix Remove Dark Background in Overlay #22

This commit is contained in:
Dan
2023-07-26 02:37:17 +03:00
committed by GitHub
parent 08784c4819
commit 6876c2e572
-12
View File
@@ -218,18 +218,6 @@
%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")]) {
if (kNoDarkBg) {
color = nil;
}
}
%orig;
}
%end
*/
// No Endscreen Cards
%hook YTCreatorEndscreenView