소스 검색

Fix reappearing indicator in the History tab (#6105)

Midyan Hamdoun 3 년 전
부모
커밋
2a1bb3dc27
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt

@@ -105,7 +105,7 @@ class HistoryController :
      * @param mangaHistory list of manga history
      */
     fun onNextManga(mangaHistory: List<HistoryItem>, cleanBatch: Boolean = false) {
-        if (adapter?.itemCount ?: 0 == 0 || cleanBatch) {
+        if (adapter?.itemCount ?: 0 == 0) {
             resetProgressItem()
         }
         if (cleanBatch) {