Fix auto cache cleanup

This commit is contained in:
tom5079
2020-10-03 20:18:20 +09:00
parent 46d4316d49
commit a6ed0baef2
8 changed files with 66 additions and 63 deletions

View File

@@ -292,8 +292,6 @@ class ReaderActivity : BaseActivity() {
return@launch
}
histories.add(galleryID)
reader_download_progressbar.max = reader_recyclerview.adapter?.itemCount ?: 0
reader_download_progressbar.progress =
downloader.progress[galleryID]?.count { it.isInfinite() } ?: 0