Update uYouPlus.xm

This commit is contained in:
arichornlover 2024-06-24 23:01:09 -05:00 committed by GitHub
parent ebcdeb4c18
commit 0b20859bef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,13 +243,6 @@ static uint8_t cellDividerDataBytes[] = {
0x39, 0x39, 0x36, 0x30, 0x31, 0x37, 0x31, 0x33, 0x38,
};
%hook YTIElementRenderer
- (NSData *)elementData {
// NSString *description = [self description];
if ([self respondsToSelector:@selector(hasCompatibilityOptions)] && self.hasCompatibilityOptions && self.compatibilityOptions.hasAdLoggingData) return cellDividerData;
return %orig;
}
%end
%hook YTIElementRenderer
- (NSData *)elementData {
if ([self respondsToSelector:@selector(hasCompatibilityOptions)] && self.hasCompatibilityOptions && self.compatibilityOptions.hasAdLoggingData) {
// HBLogInfo(@"YTX adLogging %@", cellDividerData);