pull/32/head
gedoor 6 years ago
parent c2341b442c
commit e0e49cb81d
  1. 4
      app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt

@ -69,6 +69,10 @@ class SourceEditActivity : BaseActivity<SourceEditViewModel>() {
}
private fun upRecyclerView(bookSource: BookSource?) {
bookSource?.let {
cb_is_enable.isChecked = it.isEnabled
cb_is_enable_find.isChecked = it.exploreIsEnabled
}
sourceEditEntities.clear()
sourceEditEntities.add(SourceEditEntity("origin", bookSource?.origin, R.string.book_source_url))
sourceEditEntities.add(SourceEditEntity("name", bookSource?.name, R.string.book_source_name))

Loading…
Cancel
Save