diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt index 31af4fda5..639e260eb 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt @@ -67,6 +67,12 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo } } } + R.id.menu_refresh -> { + upLoading(true) + viewModel.bookData.value?.let { + viewModel.loadBookInfo(it) + } + } } return super.onCompatOptionsItemSelected(item) } diff --git a/app/src/main/res/menu/book_info.xml b/app/src/main/res/menu/book_info.xml index 762942705..382762455 100644 --- a/app/src/main/res/menu/book_info.xml +++ b/app/src/main/res/menu/book_info.xml @@ -10,7 +10,6 @@