mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 02:32:10 +00:00
Temporarily disable YTNoCheckLocalNetwork
This commit is contained in:
parent
b846e6e45e
commit
8aff0035ac
1 changed files with 13 additions and 4 deletions
17
uYouPlus.xm
17
uYouPlus.xm
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue