Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-04-07 13:57:22 -05:00 committed by GitHub
parent ddc0660c1e
commit 293f3e2f98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -564,11 +564,11 @@ BOOL isAd(YTIElementRenderer *self) {
return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig; return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig;
} }
- (void)removeFromSuperview { - (void)removeFromSuperview {
%orig;
// Attempt 3 // Attempt 3
if (IS_ENABLED(@"hideFullscreenActions_enabled")) { if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
[self removeFromSuperview]; [self removeFromSuperview];
} }
%orig;
} }
%end %end
%end %end