udpate uYouPlus.xm

This commit is contained in:
qnblackcat
2022-09-17 10:20:24 +07:00
parent 4a5f1dae69
commit 8b95b82492
+4 -3
View File
@@ -748,6 +748,7 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
- (void)didMoveToWindow {
%orig;
if (isDarkMode()) {
self.backgroundColor = raisedColor;
self.subviews[1].backgroundColor = raisedColor;
self.superview.backgroundColor = raisedColor;
}
@@ -887,15 +888,15 @@ static void replaceTab(YTIGuideResponse *response) {
%init(Main);
}
if (hidePreviousAndNextButton()) {
%init(gHidePreviousAndNextButton);
%init(gHidePreviousAndNextButton);
}
if (replacePreviousAndNextButton()) {
%init(gReplacePreviousAndNextButton);
%init(gReplacePreviousAndNextButton);
}
if (@available(iOS 16, *)) {
%init(iOS16);
}
if (!fixGoogleSigin()) {
%init(gDevice_challenge_request_hack);
%init(gDevice_challenge_request_hack);
}
}