Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-06-22 20:55:21 -05:00 committed by GitHub
parent 55a8a11c75
commit 03591936d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -783,11 +783,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