From badf9ae4a45c5281f955d39e216743af43eb550e Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:32:07 -0500 Subject: [PATCH] updated `Hide Indicators` using layoutSubviews --- Sources/uYouPlus.xm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 2fab91e..ab55ece 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -1277,11 +1277,9 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide } %end %hook YTCountView -- (void)setHidden:(BOOL)hidden { - %orig(hidden); - if (hidden) { - [self setBackgroundColor:[UIColor clearColor]]; - } +- (void)layoutSubviews { + %orig; + self.hidden = YES; } %end %end