Improved Hide Indicators Option

This commit is contained in:
arichornlover 2024-04-28 02:36:31 -05:00 committed by GitHub
parent 1064ed1852
commit a85086f4f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1277,9 +1277,11 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
}
%end
%hook YTCountView
- (void)removeFromSuperview {
[self setHidden:YES];
%orig();
- (void)setHidden:(BOOL)hidden {
%orig(hidden);
if (hidden) {
[self setBackgroundColor:[UIColor clearColor]];
}
}
%end
%end