Remove Hide Community Posts

This commit is contained in:
Bryce Hackel
2024-07-06 23:56:12 -07:00
parent ac7267e573
commit 0369070984
15 changed files with 0 additions and 54 deletions

View File

@@ -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 {