Update uYouPlus.xm
Co-authored-by: arichornlover <78001398+arichornlover@users.noreply.github.com>
This commit is contained in:
+3
-1
@@ -173,8 +173,10 @@ NSBundle *tweakBundle = uYouPlusBundle();
|
|||||||
%hook YTRightNavigationButtons
|
%hook YTRightNavigationButtons
|
||||||
- (void)didMoveToWindow {
|
- (void)didMoveToWindow {
|
||||||
%orig;
|
%orig;
|
||||||
if (IS_ENABLED(@"hideiSponsorBlockButton_enabled"))
|
if (IS_ENABLED(@"hideiSponsorBlockButton_enabled")) {
|
||||||
self.sponsorBlockButton.hidden = YES;
|
self.sponsorBlockButton.hidden = YES;
|
||||||
|
self.sponsorBlockButton.frame = CGRectZero;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user