Fix Header (LowContrastMode)

This commit is contained in:
arichornlover
2023-12-25 17:34:46 -06:00
committed by GitHub
parent e5c83bcc27
commit c7f1a6e1bb

View File

@@ -1,4 +1,4 @@
#import "../Header.h" #import "../YTLitePlus.h"
// //
static BOOL IsEnabled(NSString *key) { static BOOL IsEnabled(NSString *key) {
@@ -16,7 +16,7 @@ static BOOL customContrastMode() {
UIColor *lcmHexColor; UIColor *lcmHexColor;
%group gLowContrastMode // Low Contrast Mode v1.4.3 (Compatible with only YouTube v16.05.7-v17.38.10) %group gLowContrastMode // Low Contrast Mode v1.4.3 (Compatible with only YouTube v16.46.5-v17.38.10)
%hook UIColor %hook UIColor
+ (UIColor *)whiteColor { // Dark Theme Color + (UIColor *)whiteColor { // Dark Theme Color
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00]; return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];