updated OLD darkmode
This commit is contained in:
parent
b6e97e249a
commit
97a959f0da
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue