pull/32/head
kunfei 5 years ago
parent 19358f3847
commit 17c975851f
  1. 40
      app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt

@ -115,41 +115,11 @@ class SourceEditActivity : BaseActivity<SourceEditViewModel>(false), KeyboardToo
//基本信息 //基本信息
with(bookSource) { with(bookSource) {
sourceEditList.clear() sourceEditList.clear()
sourceEditList.add( sourceEditList.add(EditEntity("bookSourceUrl", this?.bookSourceUrl, R.string.book_source_url))
EditEntity( sourceEditList.add(EditEntity("bookSourceName", this?.bookSourceName, R.string.book_source_name))
"bookSourceUrl", sourceEditList.add(EditEntity("bookSourceGroup", this?.bookSourceGroup, R.string.book_source_group))
this?.bookSourceUrl, sourceEditList.add(EditEntity("loginUrl", this?.loginUrl, R.string.book_source_login_url))
R.string.book_source_url sourceEditList.add(EditEntity("urlPattern", this?.infoUrlPattern, R.string.book_url_pattern))
)
)
sourceEditList.add(
EditEntity(
"bookSourceName",
this?.bookSourceName,
R.string.book_source_name
)
)
sourceEditList.add(
EditEntity(
"bookSourceGroup",
this?.bookSourceGroup,
R.string.book_source_group
)
)
sourceEditList.add(
EditEntity(
"loginUrl",
this?.loginUrl,
R.string.book_source_login_url
)
)
sourceEditList.add(
EditEntity(
"urlPattern",
this?.infoUrlPattern,
R.string.book_url_pattern
)
)
sourceEditList.add(EditEntity("header", this?.header, R.string.source_http_header)) sourceEditList.add(EditEntity("header", this?.header, R.string.source_http_header))
} }
//搜索 //搜索

Loading…
Cancel
Save