Update LowContrastMode.xm

This commit is contained in:
aricloverEXALT 2025-01-21 21:49:51 -06:00 committed by GitHub
parent 2007a90497
commit a0bf9f9ff7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,13 +237,6 @@ UIColor *lcmHexColor;
[newAttributedString addAttribute:NSForegroundColorAttributeName value:[UIColor whiteColor] range:NSMakeRange(0, newAttributedString.length)];
return newAttributedString;
}
- (BOOL)textColorFollowsTintColor {
return YES;
}
- (void)setPlaceholderColor:(UIColor *)placeholderColor {
placeholderColor = [UIColor whiteColor];
%orig(placeholderColor);
}
%end
%hook ASTextFieldNode
- (void)setTextColor:(UIColor *)textColor {
@ -260,11 +253,6 @@ UIColor *lcmHexColor;
%orig([UIColor whiteColor]);
}
%end
%hook UIControl // snackbar fix for lcm
- (UIColor *)backgroundColor {
return [UIColor blackColor];
}
%end
%end
%group gCustomContrastMode // Custom Contrast Mode (Hex Color)