updated OLD darkmode

This commit is contained in:
Balackburn
2023-07-09 19:07:11 +02:00
parent b6e97e249a
commit 97a959f0da

View File

@@ -99,6 +99,13 @@ BOOL areColorsEqual(UIColor *color1, UIColor *color2, CGFloat tolerance) {
} }
%end %end
// Testing OLED YTPlayerView for OldDarkmode (video background)
%hook YTPlayerView
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor blackColor] : %orig;
}
%end
// Hide broken YTCinematicContainerView // Hide broken YTCinematicContainerView
%hook YTCinematicContainerView %hook YTCinematicContainerView
- (void)setHidden:(BOOL)arg1 { - (void)setHidden:(BOOL)arg1 {