Skip to content

Commit

Permalink
Removed Dark Theme Cercube Patch
Browse files Browse the repository at this point in the history
Patch sadly doesn't work.
  • Loading branch information
arichornlover committed May 25, 2023
1 parent 20f0182 commit e6d1294
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions CercubePlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -193,43 +193,6 @@ static BOOL oldDarkTheme() {
%end
%end

// Cercube Dark Theme Fix
%hook q2I98226 // UIView
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

%hook x2gQgjZo // UIView
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

%hook o26tSz86 // UIView
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

%hook a26MIAOJ
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

%hook o3maiBvk
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

%hook u9oIREwy
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor colorWithRed: 0.06 green: 0.06 blue: 0.06 alpha: 1.00] : %orig;
}
%end

// A/B flags
%hook YTColdConfig
- (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html
Expand Down

0 comments on commit e6d1294

Please sign in to comment.