mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Update Themes.xm
From qnblackcat/uYouPlus
This commit is contained in:
parent
ef36051ebe
commit
2fd65f7dfa
1 changed files with 6 additions and 1 deletions
|
|
@ -170,7 +170,12 @@ UIColor *originalColor = [UIColor colorWithRed:0.129 green:0.129 blue:0.129 alph
|
|||
%end
|
||||
|
||||
%hook UITableViewCell
|
||||
- (void)_layoutSystemBackgroundView:(BOOL)animated {
|
||||
- (void)_layoutSystemBackgroundView {
|
||||
%orig;
|
||||
NSString *backgroundViewKey = class_getInstanceVariable(self.class, "_colorView") ? @"_colorView" : @"_backgroundView";
|
||||
((UIView *)[[self valueForKey:@"_systemBackgroundView"] valueForKey:backgroundViewKey]).backgroundColor = originalColor;
|
||||
}
|
||||
- (void)_layoutSystemBackgroundView:(BOOL)arg1 {
|
||||
%orig;
|
||||
((UIView *)[[self valueForKey:@"_systemBackgroundView"] valueForKey:@"_colorView"]).backgroundColor = originalColor;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue