Update uYouPlusThemes.xm

This commit is contained in:
aricloverEXTRA 2026-07-01 05:02:14 -05:00 committed by GitHub
parent 53f222c3ff
commit 76fd1161dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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