mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 03:32:08 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
b10cce8aa3
commit
e65ff0ad54
1 changed files with 7 additions and 0 deletions
|
|
@ -382,6 +382,13 @@ static NSMutableArray <YTIItemSectionRenderer *> *filteredArray(NSArray <YTIItem
|
||||||
[newArray removeObjectsAtIndexes:removeIndexes];
|
[newArray removeObjectsAtIndexes:removeIndexes];
|
||||||
return newArray;
|
return newArray;
|
||||||
}
|
}
|
||||||
|
%hook _ASDisplayView
|
||||||
|
- (void)didMoveToWindow {
|
||||||
|
%orig;
|
||||||
|
if (([self.accessibilityIdentifier isEqualToString:@"eml.expandable_metadata.vpp"]))
|
||||||
|
[self removeFromSuperview];
|
||||||
|
}
|
||||||
|
%end
|
||||||
%hook YTInnerTubeCollectionViewController
|
%hook YTInnerTubeCollectionViewController
|
||||||
- (void)displaySectionsWithReloadingSectionControllerByRenderer:(id)renderer {
|
- (void)displaySectionsWithReloadingSectionControllerByRenderer:(id)renderer {
|
||||||
NSMutableArray *sectionRenderers = [self valueForKey:@"_sectionRenderers"];
|
NSMutableArray *sectionRenderers = [self valueForKey:@"_sectionRenderers"];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue