From d40b5484a8733e42ef0cc888f287674b1ded2eff Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 21 May 2020 16:12:17 -0400 Subject: [PATCH] Fixed Recents item not showing after marking as read --- .../java/eu/kanade/tachiyomi/ui/recents/RecentMangaHolder.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentMangaHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentMangaHolder.kt index aa185ce3cd..29910fba74 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentMangaHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/RecentMangaHolder.kt @@ -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 {