pull/34/head
kunfei 5 years ago
parent 4f4a96581f
commit 48b197fc0e
  1. 4
      app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt

@ -117,11 +117,13 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio
* 筛选 * 筛选
*/ */
fun screen(key: String?) { fun screen(key: String?) {
execute {
screenKey = key ?: "" screenKey = key ?: ""
if (key.isNullOrEmpty()) { if (key.isNullOrEmpty()) {
initData() initData()
} else { } else {
App.db.searchBookDao()
}
} }
} }

Loading…
Cancel
Save