mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-07-26 23:32:22 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
4c75804420
commit
3473742c56
1 changed files with 7 additions and 1 deletions
|
|
@ -873,7 +873,13 @@ static NSMutableArray <YTIItemSectionRenderer *> *filteredArray(NSArray <YTIItem
|
|||
%orig(renderer);
|
||||
}
|
||||
// For when spoofing before 18.34.5
|
||||
- (void)setPremiumLogo:(BOOL)arg { IS_ENABLED(kYTPremiumLogo) ? %orig(YES) : %orig; }
|
||||
- (void)setPremiumLogo:(BOOL)arg {
|
||||
if (IS_ENABLED(kYTPremiumLogo)) {
|
||||
%orig(YES);
|
||||
} else {
|
||||
%orig;
|
||||
}
|
||||
}
|
||||
- (BOOL)isPremiumLogo { return IS_ENABLED(kYTPremiumLogo) ? YES : %orig; }
|
||||
%end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue