mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Update Themes.xm
This commit is contained in:
parent
2fd65f7dfa
commit
ec73d888f3
1 changed files with 6 additions and 1 deletions
|
|
@ -613,7 +613,12 @@ UIColor* raisedColor = [UIColor blackColor];
|
|||
%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 = [UIColor blackColor];
|
||||
}
|
||||
- (void)_layoutSystemBackgroundView:(BOOL)arg1 {
|
||||
%orig;
|
||||
((UIView *)[[self valueForKey:@"_systemBackgroundView"] valueForKey:@"_colorView"]).backgroundColor = [UIColor blackColor];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue