This commit is contained in:
Horis 2024-02-07 23:35:49 +08:00
parent 6e82100518
commit 4537f1325a

View File

@ -498,6 +498,7 @@ object ReadBook : CoroutineScope by MainScope() {
fun upToc() {
val bookSource = bookSource ?: return
val book = book ?: return
if (!book.canUpdate) return
if (System.currentTimeMillis() - book.lastCheckTime < 600000) return
book.lastCheckTime = System.currentTimeMillis()
WebBook.getChapterList(this, bookSource, book).onSuccess(IO) { cList ->