mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
update code
This commit is contained in:
parent
c9d45dc8a2
commit
55139dc0a9
1 changed files with 27 additions and 19 deletions
46
uYouPlus.x
46
uYouPlus.x
|
|
@ -2,7 +2,17 @@
|
|||
#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
|
||||
- (instancetype)initWithParentResponder:(id)responder;
|
||||
|
|
@ -17,7 +27,9 @@
|
|||
%end
|
||||
|
||||
|
||||
//YTNoCheckLocalNetwork
|
||||
// YTNoCheckLocalNetwork
|
||||
// Source code: https://poomsmart.github.io/repo/depictions/ytnochecklocalnetwork.html
|
||||
|
||||
%hook YTHotConfig
|
||||
|
||||
- (BOOL)isPromptForLocalNetworkPermissionsEnabled {
|
||||
|
|
@ -25,23 +37,9 @@
|
|||
}
|
||||
%end
|
||||
|
||||
//YouRememberCaption
|
||||
%hook YTColdConfig
|
||||
- (BOOL)respectDeviceCaptionSetting {
|
||||
return NO;
|
||||
}
|
||||
%end
|
||||
// YTNoHoverCards
|
||||
// Source code: https://github.com/level3tjg/YTNoHoverCards
|
||||
|
||||
|
||||
//YTSystemAppearance
|
||||
%hook YTColdConfig
|
||||
- (BOOL)shouldUseAppThemeSetting {
|
||||
return YES;
|
||||
}
|
||||
%end
|
||||
|
||||
|
||||
//YTNoHoverCards
|
||||
@interface YTCollectionViewCell : UICollectionViewCell
|
||||
@end
|
||||
|
||||
|
|
@ -85,4 +83,14 @@
|
|||
hidden = YES;
|
||||
%orig;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
|
||||
// YTSystemAppearance
|
||||
// Source code: https://poomsmart.github.io/repo/depictions/ytsystemappearance.html
|
||||
|
||||
%hook YTColdConfig
|
||||
- (BOOL)shouldUseAppThemeSetting {
|
||||
return YES;
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue