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 3265d86f6..fca961485 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 @@ -106,6 +106,9 @@ class BookInfoActivity : viewModel.loadBookInfo(it, false) } } + R.id.menu_copy_url -> viewModel.bookData.value?.bookUrl?.let { + sendToClip(it) + } ?: toast(R.string.no_book) R.id.menu_can_update -> { if (viewModel.inBookshelf) { viewModel.bookData.value?.let { diff --git a/app/src/main/res/menu/book_info.xml b/app/src/main/res/menu/book_info.xml index 1d2260eea..3e867da8b 100644 --- a/app/src/main/res/menu/book_info.xml +++ b/app/src/main/res/menu/book_info.xml @@ -19,6 +19,11 @@ android:title="@string/refresh" app:showAsAction="never" /> + + 样式名称: 点击右上角文件夹图标,选择文件夹 智能扫描 + 拷贝URL + 没有书籍 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 66ea10f0e..ed94c9143 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -778,5 +778,7 @@ 样式名称: 点击右上角文件夹图标,选择文件夹 智能扫描 + 拷贝URL + 没有书籍 diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 48d82a087..79e0bcb8f 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -781,5 +781,7 @@ 样式名称: 点击右上角文件夹图标,选择文件夹 智能扫描 + 拷贝URL + 没有书籍 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6f7a6bbea..4270818c8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -784,5 +784,7 @@ 样式名称: 点击右上角文件夹图标,选择文件夹 智能扫描 + 拷贝URL + 没有书籍