Temporarily disable YTNoCheckLocalNetwork
This commit is contained in:
+13
-4
@@ -261,9 +261,9 @@ BOOL dontEatMyContent() {
|
||||
%end
|
||||
|
||||
// YTNoCheckLocalNetwork: https://poomsmart.github.io/repo/depictions/ytnochecklocalnetwork.html
|
||||
%hook YTHotConfig
|
||||
- (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; }
|
||||
%end
|
||||
// %hook YTHotConfig
|
||||
// - (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; }
|
||||
// %end
|
||||
|
||||
// A/B flags
|
||||
%hook YTColdConfig
|
||||
@@ -643,6 +643,16 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
|
||||
}
|
||||
%end
|
||||
|
||||
// Sub menu?
|
||||
%hook ELMView
|
||||
- (void)didMoveToWindow {
|
||||
%orig;
|
||||
if (isDarkMode()) {
|
||||
self.subviews[0].backgroundColor = [UIColor blackColor];
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
// iSponsorBlock
|
||||
%hook SponsorBlockSettingsController
|
||||
- (void)viewDidLoad {
|
||||
@@ -1002,7 +1012,6 @@ NSLayoutConstraint *widthConstraint, *heightConstraint, *centerXConstraint, *cen
|
||||
%orig(pinchGestureRecognizer);
|
||||
}
|
||||
%end
|
||||
|
||||
%end // gDontEatMyContent
|
||||
|
||||
// DontEatMycontent - detecting device model
|
||||
|
||||
Reference in New Issue
Block a user