Update uYouPlus.xm

This commit is contained in:
aricloverGitHub (INACTIVE) 2024-11-20 21:10:21 -06:00 committed by GitHub
parent ceae1a4b17
commit b10cce8aa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -603,7 +603,7 @@ static NSMutableArray <YTIItemSectionRenderer *> *filteredArray(NSArray <YTIItem
// Modify the type of the icon before setting the renderer
YTIIcon *icon = [%c(YTIIcon) new];
icon.iconType = YT_PREMIUM_LOGO; // magic number (537) for Premium icon, hopefully it doesnt change. 158 (YT_DEFAULT_LOGO) is default logo.
// Use this modified renderer
renderer.iconImage = icon;
%orig;
}
// For when spoofing before 18.34.5