From 8bf69b4d1d41492da75d8653074e3d96ea08ca0e Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Sun, 30 Jul 2023 00:54:46 -0500 Subject: [PATCH] Update LowContrastMode.xm --- Source/LowContrastMode.xm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/LowContrastMode.xm b/Source/LowContrastMode.xm index 0ad9192..d430644 100644 --- a/Source/LowContrastMode.xm +++ b/Source/LowContrastMode.xm @@ -67,6 +67,12 @@ static BOOL pinkContrastMode() { } return [UIColor colorWithRed: 0.38 green: 0.38 blue: 0.38 alpha: 1.00]; // Light Theme } +- (UIColor *)overlayTextPrimary { + if (self.pageStyle == 1) { + return [UIColor whiteColor]; // Dark Theme + } + return [UIColor colorWithRed: 0.38 green: 0.38 blue: 0.38 alpha: 1.00]; // Light Theme +} %end %hook YTCollectionView - (void)setTintColor:(UIColor *)color {