Fix Remove Dark Background in Overlay #22
This commit is contained in:
@@ -218,18 +218,6 @@
|
|||||||
%hook YTMainAppVideoPlayerOverlayView
|
%hook YTMainAppVideoPlayerOverlayView
|
||||||
- (void)setBackgroundVisible:(BOOL)arg1 isGradientBackground:(BOOL)arg2 { kNoDarkBg ? %orig(NO, arg2) : %orig; }
|
- (void)setBackgroundVisible:(BOOL)arg1 isGradientBackground:(BOOL)arg2 { kNoDarkBg ? %orig(NO, arg2) : %orig; }
|
||||||
%end
|
%end
|
||||||
/*
|
|
||||||
%hook UIView
|
|
||||||
- (void)setBackgroundColor:(UIColor *)color {
|
|
||||||
if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) {
|
|
||||||
if (kNoDarkBg) {
|
|
||||||
color = nil;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
%orig;
|
|
||||||
}
|
|
||||||
%end
|
|
||||||
*/
|
|
||||||
|
|
||||||
// No Endscreen Cards
|
// No Endscreen Cards
|
||||||
%hook YTCreatorEndscreenView
|
%hook YTCreatorEndscreenView
|
||||||
|
|||||||
Reference in New Issue
Block a user