如果本来有query,校验结束不自动筛选失效

pull/1319/head
Jason Yao 3 years ago
parent f2a0992a24
commit 8ac3663151
  1. 2
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt

@ -467,7 +467,7 @@ class BookSourceActivity : VMBaseActivity<ActivityBookSourceBinding, BookSourceV
snackBar?.dismiss()
snackBar = null
groups.map { group ->
if (group.contains("失效")) {
if (group.contains("失效") && searchView.query.isEmpty()) {
searchView.setQuery("失效", true)
toastOnUi("发现有失效书源,已为您自动筛选!")
}

Loading…
Cancel
Save