mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
updated OLD darkmode
This commit is contained in:
@@ -99,6 +99,13 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
|
||||
}
|
||||
%end
|
||||
|
||||
// Testing OLED YTPlayerView for OldDarkmode (video background)
|
||||
%hook YTPlayerView
|
||||
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
|
||||
return pageStyle == 1 ? [UIColor blackColor] : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Hide broken YTCinematicContainerView
|
||||
%hook YTCinematicContainerView
|
||||
- (void)setHidden:(BOOL)arg1 {
|
||||
|
Reference in New Issue
Block a user