pull/53/head
kunfei 5 years ago
parent 3651422291
commit f41663e53a
  1. 2
      app/src/main/java/io/legado/app/ui/book/info/edit/BookInfoEditActivity.kt

@ -67,7 +67,7 @@ class BookInfoEditActivity :
} }
private fun saveData() { private fun saveData() {
viewModel.bookData.value?.let { book -> viewModel.book?.let { book ->
book.name = tie_book_name.text?.toString() ?: "" book.name = tie_book_name.text?.toString() ?: ""
book.author = tie_book_author.text?.toString() ?: "" book.author = tie_book_author.text?.toString() ?: ""
val customCoverUrl = tie_cover_url.text?.toString() val customCoverUrl = tie_cover_url.text?.toString()

Loading…
Cancel
Save