Stop crashing (LowContrastMode)

This commit is contained in:
arichorn 2023-07-16 18:09:25 -05:00 committed by GitHub
parent 5858bece9b
commit 7059c78d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,7 @@ static BOOL pinkContrastMode() {
%orig(textColor);
}
%end
/* disabled the code to stop crashing
%hook _ASDisplayView
- (void)didMoveToWindow {
%orig;
@ -180,6 +181,7 @@ static BOOL pinkContrastMode() {
label.textColor = [UIColor whiteColor];
}
%end
*/
%end
%group gRedContrastMode // Red Contrast Mode