|
|
|
@ -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) { |
|
|
|
|