Update LowContrastMode.xm

This commit is contained in:
arichorn 2023-07-30 00:54:46 -05:00 committed by GitHub
parent 09ef1f54dd
commit 8bf69b4d1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {