feat: 优化

pull/243/head
gedoor 5 years ago
parent 0ee6317f92
commit 3716e67b40
  1. 3
      app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@ -86,6 +86,9 @@ class BookInfoActivity :
R.id.menu_refresh -> { R.id.menu_refresh -> {
upLoading(true) upLoading(true)
viewModel.bookData.value?.let { viewModel.bookData.value?.let {
if (it.isLocalBook()) {
it.tocUrl = ""
}
viewModel.loadBookInfo(it) viewModel.loadBookInfo(it)
} }
} }

Loading…
Cancel
Save