优化
This commit is contained in:
@@ -215,13 +215,8 @@ class BookSourceEditActivity :
|
||||
add(EditEntity("loginCheckJs", source?.loginCheckJs, R.string.login_check_js))
|
||||
add(EditEntity("bookUrlPattern", source?.bookUrlPattern, R.string.book_url_pattern))
|
||||
add(EditEntity("header", source?.header, R.string.source_http_header))
|
||||
add(
|
||||
EditEntity(
|
||||
"concurrentRate",
|
||||
source?.concurrentRate,
|
||||
R.string.source_concurrent_rate
|
||||
)
|
||||
)
|
||||
add(EditEntity("variableComment", source?.variableComment, R.string.variable_comment))
|
||||
add(EditEntity("concurrentRate", source?.concurrentRate, R.string.concurrent_rate))
|
||||
}
|
||||
//搜索
|
||||
val sr = source?.getSearchRule()
|
||||
@@ -328,6 +323,7 @@ class BookSourceEditActivity :
|
||||
"header" -> source.header = it.value
|
||||
"bookSourceComment" -> source.bookSourceComment = it.value ?: ""
|
||||
"concurrentRate" -> source.concurrentRate = it.value
|
||||
"variableComment" -> source.variableComment = it.value
|
||||
}
|
||||
}
|
||||
searchEntities.forEach {
|
||||
|
||||
@@ -170,11 +170,8 @@ class RssSourceEditActivity :
|
||||
add(EditEntity("loginUi", source?.loginUi, R.string.login_ui))
|
||||
add(EditEntity("loginCheckJs", source?.loginCheckJs, R.string.login_check_js))
|
||||
add(EditEntity("header", source?.header, R.string.source_http_header))
|
||||
add(
|
||||
EditEntity(
|
||||
"concurrentRate", source?.concurrentRate, R.string.source_concurrent_rate
|
||||
)
|
||||
)
|
||||
add(EditEntity("variableComment", source?.variableComment, R.string.variable_comment))
|
||||
add(EditEntity("concurrentRate", source?.concurrentRate, R.string.concurrent_rate))
|
||||
add(EditEntity("sortUrl", source?.sortUrl, R.string.sort_url))
|
||||
add(EditEntity("ruleArticles", source?.ruleArticles, R.string.r_articles))
|
||||
add(EditEntity("ruleNextPage", source?.ruleNextPage, R.string.r_next))
|
||||
@@ -207,6 +204,7 @@ class RssSourceEditActivity :
|
||||
"loginUi" -> source.loginUi = it.value
|
||||
"loginCheckJs" -> source.loginCheckJs = it.value
|
||||
"header" -> source.header = it.value
|
||||
"variableComment" -> source.variableComment = it.value
|
||||
"concurrentRate" -> source.concurrentRate = it.value
|
||||
"sortUrl" -> source.sortUrl = it.value
|
||||
"ruleArticles" -> source.ruleArticles = it.value
|
||||
|
||||
Reference in New Issue
Block a user