mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Updated YTNoModernUI
This commit is contained in:
parent
de3eb16662
commit
f5f0748d91
1 changed files with 15 additions and 2 deletions
17
uYouPlus.xm
17
uYouPlus.xm
|
|
@ -365,7 +365,7 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
+ (NSString *)appVersion { return @"17.38.10"; }
|
||||
%end
|
||||
|
||||
%hook YTSettingsCell // made by Dayanch96
|
||||
%hook YTSettingsCell // Remove v17.38.10 Version Number - @Dayanch96
|
||||
- (void)setDetailText:(id)arg1 {
|
||||
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
|
||||
NSString *appVersion = infoDictionary[@"CFBundleShortVersionString"];
|
||||
|
|
@ -388,10 +388,23 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
}
|
||||
%end
|
||||
|
||||
%hook YTQTMButton
|
||||
%hook CALayer // Less Rounded iPhone Overflow Menu - YTNoModernUI
|
||||
- (CGFloat)cornerRadius {
|
||||
if (self == (CALayer *)0x285f309e0) {
|
||||
return 6.0;
|
||||
}
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
%hook YTQTMButton // No Modern/Rounded Buttons - YTNoModernUI
|
||||
+ (BOOL)buttonModernizationEnabled { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTBubbleHintView // No Modern/Rounded Hints - YTNoModernUI
|
||||
+ (BOOL)modernRoundedCornersEnabled { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTColdConfig
|
||||
// Disable Modern Content - YTNoModernUI
|
||||
- (BOOL)creatorClientConfigEnableStudioModernizedMdeThumbnailPickerForClient { return NO; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue