diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-07-18 01:44:44 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-07-18 01:44:44 +0000 |
commit | a43b2e8f525c627a858ea8e7af1f63f5516ac2d5 (patch) | |
tree | 42e5200dcaa64886bd21371baf8fcc0023364893 | |
parent | 2863bac0111daddf3e1d762be6266a525f59e95f (diff) | |
download | infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar.gz infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar.bz2 infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar.lz infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar.xz infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.tar.zst infinity-for-reddit-a43b2e8f525c627a858ea8e7af1f63f5516ac2d5.zip |
Fix filtered out comments not collapsed when display mode in comment filter is set to fully collapse comments.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/comment/Comment.java | 2 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/comment/ParseComment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/comment/Comment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/comment/Comment.java index c838e32e..2a1f23f4 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/comment/Comment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/comment/Comment.java @@ -313,7 +313,7 @@ public class Comment implements Parcelable { } public void setIsFilteredOut(boolean isFilteredOut) { - this.isExpanded = isFilteredOut; + this.isFilteredOut = isFilteredOut; } public int getVoteType() { diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/comment/ParseComment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/comment/ParseComment.java index 1593d29d..3e0f526d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/comment/ParseComment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/comment/ParseComment.java @@ -210,9 +210,9 @@ public class ParseComment { singleComment.addChildren(children); singleComment.setMoreChildrenIds(nextMoreChildrenIds); singleComment.setChildCount(getChildCount(singleComment)); - singleComment.setIsFilteredOut(isFilteredOut); } + singleComment.setIsFilteredOut(isFilteredOut); newCommentData.add(singleComment); } } |