Update AdBlock Workaround Option

This commit is contained in:
arichornlover 2024-05-25 03:00:06 -05:00 committed by GitHub
parent 4f10083849
commit 418e23f6bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,5 @@
#import "uYouPlus.h"
NSData *cellDividerData;
// Tweak's bundle for Localizations support - @PoomSmart - https://github.com/PoomSmart/YouPiP/commit/aea2473f64c75d73cab713e1e2d5d0a77675024f
NSBundle *uYouPlusBundle() {
static NSBundle *bundle = nil;
@ -168,6 +166,7 @@ BOOL isAdString(NSString *description) {
return YES;
return NO;
}
NSData *cellDividerData;
%hook YTIElementRenderer
- (NSData *)elementData {
NSString *description = [self description];