mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
Remove Hide Community Posts
This commit is contained in:
@@ -410,20 +410,6 @@ BOOL isTabSelected = NO;
|
||||
%end
|
||||
%end
|
||||
|
||||
// Hide Community Posts - @michael-winay & @arichorn
|
||||
%hook YTIElementRenderer
|
||||
static NSData *cellDividerData = nil;
|
||||
- (NSData *)elementData {
|
||||
NSString *description = [self description];
|
||||
if (IsEnabled(@"hideCommunityPosts_enabled")) {
|
||||
if ([description containsString:@"post_base_wrapper.eml"]) {
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// Seek anywhere gesture - @bhackel
|
||||
%hook YTColdConfig
|
||||
- (BOOL)speedMasterArm2FastForwardWithoutSeekBySliding {
|
||||
|
Reference in New Issue
Block a user