From 44c56c3fdb4182c21d661e4f5b4cce102aba90f1 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:44:26 -0500 Subject: [PATCH] Update uYouPlus.xm --- Sources/uYouPlus.xm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 043b093..3fe6afb 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -560,12 +560,14 @@ BOOL isAd(YTIElementRenderer *self) { %end %hook YTFullscreenActionsView - (BOOL)enabled { -// Attempt 2 - return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig; + // Attempt 2 + return IS_ENABLED(@"hideFullscreenActions_enabled") ? NO : %orig; } - (void)removeFromSuperview { + %orig; + // Attempt 3 if (IS_ENABLED(@"hideFullscreenActions_enabled")) { - [super removeFromSuperview]; + [self removeFromSuperview]; } } %end