Updated Hide Channel Watermark Option - #198
This commit is contained in:
parent
de3d4320e6
commit
ad0d875fb5
1 changed files with 10 additions and 1 deletions
11
uYouPlus.xm
11
uYouPlus.xm
|
|
@ -800,7 +800,16 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
}
|
||||
%end
|
||||
|
||||
// Hide Watermark
|
||||
// Hide Channel Watermark
|
||||
%hook YTMainAppVideoPlayerOverlayView
|
||||
- (BOOL)isWatermarkEnabled {
|
||||
if (IsEnabled(@"hideChannelWatermark_enabled")) {
|
||||
return NO;
|
||||
}
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
// Hide Channel Watermark (for Backwards Compatibility)
|
||||
%hook YTAnnotationsViewController
|
||||
- (void)loadFeaturedChannelWatermark {
|
||||
if (IsEnabled(@"hideChannelWatermark_enabled")) {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue