添加自动筛选失效书源

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

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

Loading…
Cancel
Save