mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-30 03:24:44 +01:00
Minor bugs fixed
This commit is contained in:
parent
b4c95fe4a5
commit
234bd7a2dd
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user