mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Fix navigation bar color in (default) dark mode
This commit is contained in:
parent
b71083f9e3
commit
809e59df02
1 changed files with 7 additions and 0 deletions
|
|
@ -474,6 +474,13 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
%end
|
||||
|
||||
// Theme Options
|
||||
// Fix navigation bar showing a lighter grey with default dark mode
|
||||
%hook YTCommonColorPalette
|
||||
- (UIColor *)brandBackgroundSolid {
|
||||
return self.pageStyle == 1 ? [UIColor colorWithRed:0.05882352941176471 green:0.05882352941176471 blue:0.05882352941176471 alpha:1.0] : %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Old dark theme (gray)
|
||||
%group gOldDarkTheme
|
||||
%hook YTColdConfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue