mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 13:29:50 +02:00
Minor bugs fixed
This commit is contained in:
@@ -4423,7 +4423,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
|
|
||||||
void markPostRead(Post post, boolean changePostItemColor) {
|
void markPostRead(Post post, boolean changePostItemColor) {
|
||||||
if (mAccessToken != null && !post.isRead() && mMarkPostsAsRead) {
|
if (mAccessToken != null && !post.isRead() && mMarkPostsAsRead) {
|
||||||
post.markAsRead(true);
|
post.markAsRead();
|
||||||
if (changePostItemColor) {
|
if (changePostItemColor) {
|
||||||
itemView.setBackgroundTintList(ColorStateList.valueOf(mReadPostCardViewBackgroundColor));
|
itemView.setBackgroundTintList(ColorStateList.valueOf(mReadPostCardViewBackgroundColor));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user