aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/postfilter/PostFilter.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/postfilter/PostFilter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/postfilter/PostFilter.java
index a22ad6fd..464b6d9f 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/postfilter/PostFilter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/postfilter/PostFilter.java
@@ -357,12 +357,12 @@ public class PostFilter implements Parcelable {
postFilter.containDomains = stringBuilder.toString();
}
- postFilter.containTextType = p.containTextType || postFilter.containTextType;
- postFilter.containLinkType = p.containLinkType || postFilter.containLinkType;
- postFilter.containImageType = p.containImageType || postFilter.containImageType;
- postFilter.containGifType = p.containGifType || postFilter.containGifType;
- postFilter.containVideoType = p.containVideoType || postFilter.containVideoType;
- postFilter.containGalleryType = p.containGalleryType || postFilter.containGalleryType;
+ postFilter.containTextType = p.containTextType && postFilter.containTextType;
+ postFilter.containLinkType = p.containLinkType && postFilter.containLinkType;
+ postFilter.containImageType = p.containImageType && postFilter.containImageType;
+ postFilter.containGifType = p.containGifType && postFilter.containGifType;
+ postFilter.containVideoType = p.containVideoType && postFilter.containVideoType;
+ postFilter.containGalleryType = p.containGalleryType && postFilter.containGalleryType;
}
return postFilter;