update code
This commit is contained in:
+27
-19
@@ -2,7 +2,17 @@
|
|||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
|
||||||
//YTClassicVideoQuality
|
// YouRememberCaption
|
||||||
|
//Source code: https://www.ios-repo-updates.com/repository/poomsmart/package/com.ps.youremembercaption/
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)respectDeviceCaptionSetting {
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
// YTClassicVideoQuality
|
||||||
|
// Source code: https://github.com/PoomSmart/YTClassicVideoQuality
|
||||||
|
|
||||||
@interface YTVideoQualitySwitchOriginalController : NSObject
|
@interface YTVideoQualitySwitchOriginalController : NSObject
|
||||||
- (instancetype)initWithParentResponder:(id)responder;
|
- (instancetype)initWithParentResponder:(id)responder;
|
||||||
@@ -17,7 +27,9 @@
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
//YTNoCheckLocalNetwork
|
// YTNoCheckLocalNetwork
|
||||||
|
// Source code: https://poomsmart.github.io/repo/depictions/ytnochecklocalnetwork.html
|
||||||
|
|
||||||
%hook YTHotConfig
|
%hook YTHotConfig
|
||||||
|
|
||||||
- (BOOL)isPromptForLocalNetworkPermissionsEnabled {
|
- (BOOL)isPromptForLocalNetworkPermissionsEnabled {
|
||||||
@@ -25,23 +37,9 @@
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
//YouRememberCaption
|
// YTNoHoverCards
|
||||||
%hook YTColdConfig
|
// Source code: https://github.com/level3tjg/YTNoHoverCards
|
||||||
- (BOOL)respectDeviceCaptionSetting {
|
|
||||||
return NO;
|
|
||||||
}
|
|
||||||
%end
|
|
||||||
|
|
||||||
|
|
||||||
//YTSystemAppearance
|
|
||||||
%hook YTColdConfig
|
|
||||||
- (BOOL)shouldUseAppThemeSetting {
|
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
%end
|
|
||||||
|
|
||||||
|
|
||||||
//YTNoHoverCards
|
|
||||||
@interface YTCollectionViewCell : UICollectionViewCell
|
@interface YTCollectionViewCell : UICollectionViewCell
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -85,4 +83,14 @@
|
|||||||
hidden = YES;
|
hidden = YES;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
// YTSystemAppearance
|
||||||
|
// Source code: https://poomsmart.github.io/repo/depictions/ytsystemappearance.html
|
||||||
|
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)shouldUseAppThemeSetting {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|||||||
Reference in New Issue
Block a user