aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-13 05:50:54 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-13 05:50:54 +0000
commit2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721 (patch)
tree0b4dae662a88937fb51432c17ecb0a8baf557dfa /app/src/main/java/ml/docilealligator/infinityforreddit
parent6f2eea90ae8ad00d57e6a04f0f98c1dbd5c01b9b (diff)
parentcb7805c7a7f7fafb30f4e847b036d22a18bbf04c (diff)
downloadinfinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar.gz
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar.bz2
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar.lz
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar.xz
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.tar.zst
infinity-for-reddit-2d62332e8dd4aa1d58cefaa3f6d2fb44d2da5721.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-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;