Update uYouPlus.xm

Co-authored-by: arichornlover <78001398+arichornlover@users.noreply.github.com>
This commit is contained in:
Foxster
2024-02-26 13:00:16 -08:00
committed by GitHub
co-authored by arichornlover
parent 4c34416fc4
commit f732fa3ced
+3 -1
View File
@@ -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