mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Fixed Hide Dark Overlay Background Again?
this was fixed by Dayanch96 from here https://github.com/dayanch96/YTLite
This commit is contained in:
parent
592675ff4e
commit
2b5d9c3bec
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue