Skip to content

Commit

Permalink
Update uYouPlus.xm
Browse files Browse the repository at this point in the history
Co-authored-by: arichornlover <[email protected]>
  • Loading branch information
therealFoxster and arichornlover committed Feb 26, 2024
1 parent 4c34416 commit f732fa3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f732fa3

Please sign in to comment.