Fix navigation bar color in (default) dark mode
This commit is contained in:
@@ -474,6 +474,13 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
// Theme Options
|
// 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)
|
// Old dark theme (gray)
|
||||||
%group gOldDarkTheme
|
%group gOldDarkTheme
|
||||||
%hook YTColdConfig
|
%hook YTColdConfig
|
||||||
|
|||||||
Reference in New Issue
Block a user