Update LowContrastMode.xm
This commit is contained in:
parent
4ab1b0573f
commit
14487c8cb5
1 changed files with 10 additions and 0 deletions
|
|
@ -124,6 +124,16 @@ UIColor *lcmHexColor;
|
|||
%orig(currentImage);
|
||||
}
|
||||
%end
|
||||
%hook WKCompositingView // YouTube Playables (v18.34.5+)
|
||||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
for (UILabel *label in self.subviews) {
|
||||
if ([label isKindOfClass:[UILabel class]]) {
|
||||
label.textColor = [UIColor whiteColor];
|
||||
}
|
||||
}
|
||||
}
|
||||
%end
|
||||
%hook UIExtendedSRGColorSpace
|
||||
- (void)setTextColor:(UIColor *)textColor {
|
||||
textColor = [[UIColor whiteColor] colorWithAlphaComponent:0.9];
|
||||
|
|
|
|||
Loading…
Reference in a new issue