aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-27 12:40:03 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-11-27 12:40:03 +0000
commit234bd7a2dde0358e2451afd02416447c2572de66 (patch)
treeb13b4886799f63c283e96819eb6714c365f516b3 /app/src/main/java
parentb4c95fe4a56e2ad8442382869cfb8db097ec4cb7 (diff)
downloadinfinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar.gz
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar.bz2
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar.lz
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar.xz
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.tar.zst
infinity-for-reddit-234bd7a2dde0358e2451afd02416447c2572de66.zip
Minor bugs fixed
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
index 693a5920..0f171394 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
@@ -4423,7 +4423,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
void markPostRead(Post post, boolean changePostItemColor) {
if (mAccessToken != null && !post.isRead() && mMarkPostsAsRead) {
- post.markAsRead(true);
+ post.markAsRead();
if (changePostItemColor) {
itemView.setBackgroundTintList(ColorStateList.valueOf(mReadPostCardViewBackgroundColor));
}