update Readme

This commit is contained in:
qnblackcat
2021-10-01 13:33:14 +07:00
parent 302b50aabb
commit 2f68f73edb
3 changed files with 36 additions and 78 deletions
+3 -28
View File
@@ -14,17 +14,15 @@
Class originalClass = %c(YTVideoQualitySwitchOriginalController);
return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig;
}
%end
//NoLocalCheck
//YTNoCheckLocalNetwork
%hook YTHotConfig
- (BOOL)isPromptForLocalNetworkPermissionsEnabled {
return NO;
}
%end
//YouRememberCaption
@@ -35,7 +33,7 @@
%end
//YTSystemTheme
//YTSystemAppearance
%hook YTColdConfig
- (BOOL)shouldUseAppThemeSetting {
return YES;
@@ -43,30 +41,7 @@
%end
//NOYTPremium
%hook YTCommerceEventGroupHandler
- (void)addEventHandlers {}
%end
%hook YTInterstitialPromoEventGroupHandler
- (void)addEventHandlers {}
%end
%hook YTIShowFullscreenInterstitialCommand
- (BOOL)shouldThrottleInterstitial { return YES; }
%end
%hook YTPromoThrottleController
- (BOOL)canShowThrottledPromo { return NO; }
- (BOOL)canShowThrottledPromoWithFrequencyCap:(id)frequencyCap { return NO; }
%end
%hook YTSurveyController
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
%end
//YTNoHoverCards 0.0.3
//YTNoHoverCards
@interface YTCollectionViewCell : UICollectionViewCell
@end