This commit is contained in:
Horis 2023-11-20 20:04:19 +08:00
parent 50bf32a99a
commit 1c12b1d5b8

View File

@ -77,7 +77,7 @@ class SearchModel(private val scope: CoroutineScope, private val callBack: CallB
return
}
searchIndex++
val source = bookSourceList[searchIndex]
val source = bookSourceList.getOrNull(searchIndex) ?: return
val searchPool = searchPool ?: return
val task = WebBook.searchBook(
scope,