Update uYouPlus.xm

Fix OLED dark mode of main and settings page
This commit is contained in:
BandarHelal 2023-04-21 09:46:58 +03:00 committed by GitHub
parent e5997c2f65
commit 1de18fdf0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -817,6 +817,12 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
}
%end
%hook YTInnerTubeCollectionViewController
- (UIColor *)backgroundColor:(NSInteger)pageStyle {
return pageStyle == 1 ? [UIColor blackColor] : %orig;
}
%end
// Explore
%hook ASScrollView
- (void)didMoveToWindow {