mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 15:02:08 +00:00
Update Themes.xm
This commit is contained in:
parent
2d25428338
commit
196b82f638
1 changed files with 0 additions and 7 deletions
|
|
@ -13,13 +13,6 @@ static BOOL oldDarkTheme() {
|
|||
return ([[NSUserDefaults standardUserDefaults] integerForKey:@"appTheme"] == 2);
|
||||
}
|
||||
|
||||
// Patch - fix YouTube Dark Theme Header
|
||||
%hook YTHeaderView
|
||||
- (void)setBackgroundColor:(UIColor *)color {
|
||||
return isDarkMode() ? %orig([UIColor colorWithRed:0.06 green:0.06 blue:0.06 alpha:1.0]) : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Themes.xm - Theme Options
|
||||
// Old dark theme (gray)
|
||||
%group gOldDarkTheme
|
||||
|
|
|
|||
Loading…
Reference in a new issue