diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 8dac51a82c..ecf24d0de0 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -173,8 +173,10 @@ NSBundle *tweakBundle = uYouPlusBundle(); %hook YTRightNavigationButtons - (void)didMoveToWindow { %orig; - if (IS_ENABLED(@"hideiSponsorBlockButton_enabled")) + if (IS_ENABLED(@"hideiSponsorBlockButton_enabled")) { self.sponsorBlockButton.hidden = YES; + self.sponsorBlockButton.frame = CGRectZero; + } } %end