Re-implement Custom Contrast Mode (Broken?)

This commit is contained in:
arichornlover 2023-12-27 22:43:39 -06:00 committed by GitHub
parent a2872996b2
commit 72c88cfddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -297,7 +297,6 @@ UIColor *lcmHexColor;
%end
%end
/*
%group gCustomContrastMode // Custom Contrast Mode (Hex Color)
%hook UIColor
+ (UIColor *)whiteColor {
@ -570,7 +569,6 @@ UIColor *lcmHexColor;
}
%end
%end
*/
# pragma mark - ctor
%ctor {
@ -578,9 +576,7 @@ UIColor *lcmHexColor;
if (lowContrastMode()) {
%init(gLowContrastMode);
}
/*
if (customContrastMode()) {
%init(gCustomContrastMode);
}
*/
}