Skip to content

Commit

Permalink
Fix Remove Dark Background in Overlay #22
Browse files Browse the repository at this point in the history
  • Loading branch information
dayanch96 authored Jul 25, 2023
1 parent 08784c4 commit 6876c2e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions YTLite.x
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

This comment has been minimized.

Copy link
@arichornlover

arichornlover Jul 26, 2023

Contributor

I am sorry about that UIView method. even though it worked I should’ve known it would be a bad idea.

This comment has been minimized.

Copy link
@dayanch96

dayanch96 Jul 26, 2023

Author Owner

All good don’t worry so much about it


// No Endscreen Cards
%hook YTCreatorEndscreenView
Expand Down

0 comments on commit 6876c2e

Please sign in to comment.