Red progress bar

This commit is contained in:
dayanch96 2023-04-19 04:07:56 +03:00 committed by GitHub
parent aa78e13df9
commit 28284e5c71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -718,11 +718,11 @@ void DEMC_centerRenderingView() {
%end
// Bring back the red progress bar - Broken?!
// %hook YTColdConfig
// - (BOOL)segmentablePlayerBarUpdateColors {
// return IsEnabled(@"redProgressBar_enabled") ? NO : %orig;
// }
// %end
%hook YTInlinePlayerBarContainerView
- (id)quietProgressBarColor {
return IsEnabled(@"redProgressBar_enabled") ? [UIColor redColor] : %orig;
}
%end
// Disable the right panel in fullscreen mode
%hook YTColdConfig