mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Added New Option Shorts Quality Picker - #631
This commit is contained in:
parent
0922f1b255
commit
802b1382b1
1 changed files with 14 additions and 0 deletions
|
|
@ -471,6 +471,17 @@ BOOL isAdString(NSString *description) {
|
|||
%end
|
||||
%end
|
||||
|
||||
// Shorts Quality Picker - @arichornlover
|
||||
%group gShortsQualityPicker
|
||||
%hook YTHotConfig
|
||||
- (BOOL)enableOmitAdvancedMenuInShortsVideoQualityPicker { return YES; }
|
||||
- (BOOL)enableShortsVideoQualityPicker { return YES; }
|
||||
- (BOOL)iosEnableImmersiveLivePlayerVideoQuality { return YES; }
|
||||
- (BOOL)iosEnableShortsPlayerVideoQuality { return YES; }
|
||||
- (BOOL)iosEnableShortsPlayerVideoQualityRestartVideo { return YES; }
|
||||
- (BOOL)iosEnableSimplerTitleInShortsVideoQualityPicker { return YES; }
|
||||
%end
|
||||
%end
|
||||
|
||||
// YTShortsProgress - https://github.com/PoomSmart/YTShortsProgress/
|
||||
%hook YTShortsPlayerViewController
|
||||
|
|
@ -1672,6 +1683,9 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
|
|||
if (IS_ENABLED(@"hideDoubleTapToSeekOverlay_enabled")) {
|
||||
%init(gHideDoubleTapToSeekOverlay);
|
||||
}
|
||||
if (IS_ENABLED(@"shortsQualityPicker_enabled")) {
|
||||
%init(gShortsQualityPicker);
|
||||
}
|
||||
if (IS_ENABLED(@"fixCasting_enabled")) {
|
||||
%init(gFixCasting);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue