We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ace33d commit c15c192Copy full SHA for c15c192
Tweak.xm
@@ -121,6 +121,12 @@ static void filterNode(NSMutableDictionary *node) {
121
node[@"cells"] = @[];
122
}
123
124
+ // Recommendation
125
+ if ([NSUserDefaults.standardUserDefaults boolForKey:kRedditFilterRecommended]) {
126
+ if ([node[@"__typename"] isEqualToString:@"CellGroup"] && ![node[@"recommendationContext"] isEqual:[NSNull null]])
127
+ node[@"cells"] = @[];
128
+ }
129
+
130
// Comment
131
if ([node[@"__typename"] isEqualToString:@"Comment"]) {
132
if ([NSUserDefaults.standardUserDefaults boolForKey:kRedditFilterAwards]) {
0 commit comments