mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
updated Hide Indicators using layoutSubviews
This commit is contained in:
parent
4dcd5c810a
commit
badf9ae4a4
1 changed files with 3 additions and 5 deletions
|
|
@ -1277,11 +1277,9 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
|
|||
}
|
||||
%end
|
||||
%hook YTCountView
|
||||
- (void)setHidden:(BOOL)hidden {
|
||||
%orig(hidden);
|
||||
if (hidden) {
|
||||
[self setBackgroundColor:[UIColor clearColor]];
|
||||
}
|
||||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
self.hidden = YES;
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue