Fix reappearing indicator in the History tab (#6105)

(cherry picked from commit 2a1bb3dc27fc78f3fb108801a0fc0e77db4490b5)
This commit is contained in:
Midyan Hamdoun 2021-10-16 05:14:45 +03:00 committed by Jobobby04
parent e63bd150e9
commit 59d05af9ef

View File

@ -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) {