Fixed Recents item not showing after marking as read

This commit is contained in:
Jay 2020-05-21 16:12:17 -04:00
parent a1bd3402ff
commit d40b5484a8

View File

@ -75,6 +75,11 @@ class RecentMangaHolder(
if (adapter.isSelected(adapterPosition)) Download.CHECKED else item.status,
item.progress
)
resetFrontView()
}
private fun resetFrontView() {
if (front_view.translationX != 0f) itemView.post { adapter.notifyItemChanged(adapterPosition) }
}
override fun onLongClick(view: View?): Boolean {