添加自动筛选失效书源

pull/379/head
口口吕 4 years ago
parent 0616438402
commit 480e536a3e
  1. 9
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt

@ -284,7 +284,14 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
progressDialogBuilder.max = it progressDialogBuilder.max = it
progressDialogBuilder.dismiss() progressDialogBuilder.dismiss()
} }
toast("校验完成") groups.map { group->
if (group.indexOf("失效") != -1) {
search_view.setQuery("失效", true)
toast("校验完成,发现有失效书源,已为您自动筛选!")
} else {
toast("校验完成")
}
}
} }
} }

Loading…
Cancel
Save