mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-07-26 23:32:22 +00:00
Update uYouPlusThemes.xm
This commit is contained in:
parent
53f222c3ff
commit
76fd1161dc
1 changed files with 10 additions and 2 deletions
|
|
@ -597,13 +597,21 @@ UIColor *customHexColor;
|
|||
// Open link with...
|
||||
%hook ASWAppSwitchingSheetHeaderView
|
||||
- (void)setBackgroundColor:(UIColor *)color {
|
||||
return IS_DARK_APPEARANCE_ENABLED ? %orig(raisedColor) : %orig;
|
||||
if (IS_DARK_APPEARANCE_ENABLED) {
|
||||
%orig(raisedColor);
|
||||
} else {
|
||||
%orig;
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
%hook ASWAppSwitchingSheetFooterView
|
||||
- (void)setBackgroundColor:(UIColor *)color {
|
||||
return IS_DARK_APPEARANCE_ENABLED ? %orig(raisedColor) : %orig;
|
||||
if (IS_DARK_APPEARANCE_ENABLED) {
|
||||
%orig(raisedColor);
|
||||
} else {
|
||||
%orig;
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue