Stop crashing (LowContrastMode)

This commit is contained in:
arichorn
2023-07-16 18:09:25 -05:00
committed by GitHub
parent 5858bece9b
commit 7059c78d34

View File

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