From ce60781a3fb68a7720c907eeda677544cab3e4ee Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 30 Aug 2019 12:17:44 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt | 6 ++++++ app/src/main/res/menu/book_info.xml | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@