Update LowContrastMode
This commit is contained in:
parent
bb6e1b54ab
commit
3e7c7970b0
1 changed files with 8 additions and 0 deletions
|
|
@ -171,6 +171,14 @@ UIColor *lcmHexColor;
|
|||
return [UIColor whiteColor];
|
||||
}
|
||||
%end
|
||||
%hook YCHLiveChatLabel
|
||||
- (NSAttributedString *)attributedText {
|
||||
NSAttributedString *originalAttributedString = %orig;
|
||||
NSMutableAttributedString *modifiedAttributedString = [originalAttributedString mutableCopy];
|
||||
[modifiedAttributedString addAttribute:NSForegroundColorAttributeName value:[UIColor whiteColor] range:NSMakeRange(0, modifiedAttributedString.length)];
|
||||
return modifiedAttributedString;
|
||||
}
|
||||
%end
|
||||
%hook YTQTMButton
|
||||
- (void)setImage:(UIImage *)image {
|
||||
UIImage *currentImage = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
|
||||
|
|
|
|||
Loading…
Reference in a new issue