mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 14:02:08 +00:00
Fixed Hide Dark Overlay Background Option
This commit is contained in:
parent
0c20ac5305
commit
9695aa090e
1 changed files with 10 additions and 2 deletions
12
uYouPlus.xm
12
uYouPlus.xm
|
|
@ -671,13 +671,21 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
// %end
|
||||
%end
|
||||
|
||||
// Hide Overlay Dark Background
|
||||
// Hide Dark Overlay Background
|
||||
%group gHideOverlayDarkBackground
|
||||
%hook YTMainAppVideoPlayerOverlayView
|
||||
- (void)setBackgroundVisible:(BOOL)arg1 {
|
||||
- (void)setBackgroundVisible:(BOOL)arg1 { // Deprecated Method
|
||||
%orig(NO);
|
||||
}
|
||||
%end
|
||||
%hook UIView
|
||||
- (void)setBackgroundColor:(UIColor *)color {
|
||||
if ([self.nextResponder isKindOfClass:NSClassFromString(@"YTMainAppVideoPlayerOverlayView")]) {
|
||||
color = nil;
|
||||
}
|
||||
%orig;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
// Replace Next & Previous button with Fast forward & Rewind button
|
||||
|
|
|
|||
Loading…
Reference in a new issue