Merge pull request #1082 from dayanch96/uYouPlus

This commit is contained in:
Nguyễn Đạt
2023-04-19 09:50:43 +07:00
committed by GitHub
2 changed files with 14 additions and 14 deletions
+9 -9
View File
@@ -189,15 +189,15 @@ extern NSBundle *uYouPlusBundle();
} }
settingItemId:0], settingItemId:0],
// [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"RED_PROGRESS_BAR") [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"RED_PROGRESS_BAR")
// titleDescription:LOC(@"RED_PROGRESS_BAR_DESC") titleDescription:LOC(@"RED_PROGRESS_BAR_DESC")
// accessibilityIdentifier:nil accessibilityIdentifier:nil
// switchOn:IsEnabled(@"redProgressBar_enabled") switchOn:IsEnabled(@"redProgressBar_enabled")
// switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
// [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"redProgressBar_enabled"]; [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"redProgressBar_enabled"];
// return YES; return YES;
// } }
// settingItemId:0], settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_HOVER_CARD") [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_HOVER_CARD")
titleDescription:LOC(@"HIDE_HOVER_CARD_DESC") titleDescription:LOC(@"HIDE_HOVER_CARD_DESC")
+5 -5
View File
@@ -718,11 +718,11 @@ void DEMC_centerRenderingView() {
%end %end
// Bring back the red progress bar - Broken?! // Bring back the red progress bar - Broken?!
// %hook YTColdConfig %hook YTInlinePlayerBarContainerView
// - (BOOL)segmentablePlayerBarUpdateColors { - (id)quietProgressBarColor {
// return IsEnabled(@"redProgressBar_enabled") ? NO : %orig; return IsEnabled(@"redProgressBar_enabled") ? [UIColor redColor] : %orig;
// } }
// %end %end
// Disable the right panel in fullscreen mode // Disable the right panel in fullscreen mode
%hook YTColdConfig %hook YTColdConfig