mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-18 21:22:10 +00:00
Update uYouPlus.xm
Co-authored-by: arichornlover <78001398+arichornlover@users.noreply.github.com>
This commit is contained in:
parent
4c34416fc4
commit
f732fa3ced
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue