Minor bugs fixed

This commit is contained in:
Docile-Alligator 2022-11-27 23:40:03 +11:00
parent b4c95fe4a5
commit 234bd7a2dd

View File

@ -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));
}