diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 50f69d8..514081c 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -491,7 +491,7 @@ static NSString *accessGroupID() { } %end -# pragma mark - Hide Notification Button && SponsorBlock Button +# pragma mark - Hide Notification Button && SponsorBlock Button && uYouPlus Button %hook YTRightNavigationButtons - (void)layoutSubviews { %orig; @@ -501,6 +501,9 @@ static NSString *accessGroupID() { if (IS_ENABLED(@"hideSponsorBlockButton_enabled")) { self.sponsorBlockButton.hidden = YES; } + if (IS_ENABLED(@"hideuYouPlusButton_enabled")) { + self.uYouPlusButton.hidden = YES; + } } %end