diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt index 2e4a696ea..c13da3cd7 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt @@ -90,6 +90,13 @@ class BookInfoActivity : toast(R.string.after_add_bookshelf) } } + R.id.menu_share_it -> { + viewModel.bookData.value?.let { + val bookJson = GSON.toJson(it) + val shareStr = "${it.bookUrl}#$bookJson" + shareWithQr(it.name, shareStr) + } + } R.id.menu_refresh -> { upLoading(true) viewModel.bookData.value?.let {