校验书源改为从搜索到正文

pull/823/head
gedoor 4 years ago
parent 201245a112
commit d3095035bc
  1. 1
      app/src/main/java/io/legado/app/service/CheckSourceService.kt

@ -117,6 +117,7 @@ class CheckSourceService : BaseService() {
}.timeout(60000L)
.onError {
source.addGroup("失效")
source.bookSourceComment = "${source.bookSourceComment}\n${it.localizedMessage}"
App.db.bookSourceDao.update(source)
}.onSuccess {
source.removeGroup("失效")

Loading…
Cancel
Save