updated Hide Indicators using layoutSubviews

This commit is contained in:
arichornlover 2024-04-28 19:32:07 -05:00 committed by GitHub
parent 4dcd5c810a
commit badf9ae4a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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