mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 14:02:08 +00:00
Updated YTNoModernUI + YTShortsProgress
YTNoModernUI was updated to remove some stuff that is no longer in the app anymore. YTShortsProgress was updated to fix the PlayerBar but unfortunately when I checked it seems like YouTube removed the `shouldEnablePlayerBar` Feature which was needed.
This commit is contained in:
parent
f8bfcffbef
commit
37a1461742
1 changed files with 7 additions and 10 deletions
17
uYouPlus.xm
17
uYouPlus.xm
|
|
@ -307,14 +307,17 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
%end
|
||||
|
||||
// YTShortsProgress - https://github.com/PoomSmart/YTShortsProgress/
|
||||
%hook YTShortsPlayerViewController
|
||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTReelPlayerViewController
|
||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTReelPlayerViewControllerSub
|
||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||
%end
|
||||
|
|
@ -379,18 +382,14 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
}
|
||||
%end
|
||||
|
||||
%hook YTSegmentableInlinePlayerBarView // Old Buffer Bar - YTNoModernUI
|
||||
%hook YTSegmentableInlinePlayerBarView // Gray Buffer Progress - YTNoModernUI
|
||||
- (void)setBufferedProgressBarColor:(id)arg1 {
|
||||
[UIColor colorWithRed:0.65 green:0.65 blue:0.65 alpha:0.60];
|
||||
}
|
||||
%end
|
||||
|
||||
%hook YTQTMButton
|
||||
- (BOOL)buttonModernizationEnabled { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTSearchBarView
|
||||
- (BOOL)_roundedSearchBarEnabled { return NO; }
|
||||
+ (BOOL)buttonModernizationEnabled { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTColdConfig
|
||||
|
|
@ -399,13 +398,11 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
- (BOOL)cxClientEnableModernizedActionSheet { return NO; }
|
||||
- (BOOL)enableClientShortsSheetsModernization { return NO; }
|
||||
- (BOOL)enableTimestampModernizationForNative { return NO; }
|
||||
- (BOOL)mainAppCoreClientIosEnableModernOssPage { return NO; }
|
||||
- (BOOL)modernizeElementsTextColor { return NO; }
|
||||
- (BOOL)modernizeElementsBgColor { return NO; }
|
||||
- (BOOL)modernizeCollectionLockups { return NO; }
|
||||
- (BOOL)uiSystemsClientGlobalConfigEnableEpUxUpdates { return NO; }
|
||||
- (BOOL)uiSystemsClientGlobalConfigEnableModernButtonsForNative { return NO; }
|
||||
- (BOOL)uiSystemsClientGlobalConfigEnableModernButtonsForNativeLongTail { return NO; }
|
||||
- (BOOL)uiSystemsClientGlobalConfigEnableModernTabsForNative { return NO; }
|
||||
- (BOOL)uiSystemsClientGlobalConfigIosEnableSnackbarModernization { return NO; }
|
||||
// Disable Rounded Content - YTNoModernUI
|
||||
|
|
|
|||
Loading…
Reference in a new issue