链接书源注释到BookSourceEditActivity

链接书源注释到BookSourceEditActivity
pull/365/head
Jason Yao 4 years ago
parent 15cf2235fc
commit b91eee9346
  1. 2
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt

@ -173,6 +173,7 @@ class BookSourceEditActivity :
add(EditEntity("loginUrl", source?.loginUrl, R.string.login_url))
add(EditEntity("bookUrlPattern", source?.bookUrlPattern, R.string.book_url_pattern))
add(EditEntity("header", source?.header, R.string.source_http_header))
add(EditEntity("bookSourceComment", source?.bookSourceComment, R.string.comment))
}
//搜索
val sr = source?.getSearchRule()
@ -262,6 +263,7 @@ class BookSourceEditActivity :
"loginUrl" -> source.loginUrl = it.value
"bookUrlPattern" -> source.bookUrlPattern = it.value
"header" -> source.header = it.value
"bookSourceComment" -> source.bookSourceComment = it.value ?: ""
}
}
searchEntities.forEach {

Loading…
Cancel
Save