mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
Merge pull request #2042 from 821938089/fix-booksource-edit
fix booksource edit
This commit is contained in:
@@ -330,7 +330,7 @@ class BookSourceEditActivity :
|
||||
when (it.key) {
|
||||
"searchUrl" -> source.searchUrl = it.value
|
||||
"checkKeyWord" -> searchRule.checkKeyWord = it.value
|
||||
"bookList" -> searchRule.bookList = it.value ?: ""
|
||||
"bookList" -> searchRule.bookList = it.value
|
||||
"name" -> searchRule.name =
|
||||
viewModel.ruleComplete(it.value, searchRule.bookList)
|
||||
"author" -> searchRule.author =
|
||||
@@ -354,7 +354,7 @@ class BookSourceEditActivity :
|
||||
findEntities.forEach {
|
||||
when (it.key) {
|
||||
"exploreUrl" -> source.exploreUrl = it.value
|
||||
"bookList" -> exploreRule.bookList = it.value ?: ""
|
||||
"bookList" -> exploreRule.bookList = it.value
|
||||
"name" -> exploreRule.name =
|
||||
viewModel.ruleComplete(it.value, exploreRule.bookList)
|
||||
"author" -> exploreRule.author =
|
||||
|
||||
Reference in New Issue
Block a user