Updated Hide Heatwaves Bar Option

This commit is contained in:
arichornlover 2024-06-22 20:57:27 -05:00 committed by GitHub
parent c8ebf37cd6
commit 9eefece9d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -736,11 +736,21 @@ static int contrastMode() {
%end
%end
// Hide YouTube Heatwaves in Video Player (YouTube v17.19.2-latest) - @level3tjg - https://www.reddit.com/r/jailbreak/comments/v29yvk/
// Hide YouTube Heatwaves in Video Player - v17.33.2+ - @arichornlover
%group gHideHeatwaves
%hook YTInlinePlayerBarContainerView
- (BOOL)canShowHeatwave { return NO; }
%end
%hook YTPlayerBarHeatwaveView
- (id)initWithFrame:(CGRect)frame heatmap:(id)heat {
return NULL;
}
%end
%hook YTPlayerBarController
- (void)setHeatmap:(id)arg1 {
%orig(NULL);
}
%end
%end
// YTNoSuggestedVideo - https://github.com/bhackel/YTNoSuggestedVideo