From e92a2ada98166a8e077e0d697f9c2e0398c665bd Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 3 Nov 2020 09:00:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8B=B7=E8=B4=9Durl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/info/BookInfoActivity.kt | 3 +++ app/src/main/res/menu/book_info.xml | 5 +++++ app/src/main/res/values-zh-rHK/strings.xml | 2 ++ app/src/main/res/values-zh-rTW/strings.xml | 2 ++ app/src/main/res/values-zh/strings.xml | 2 ++ app/src/main/res/values/strings.xml | 2 ++ 6 files changed, 16 insertions(+) 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 + 没有书籍 From 91222b9468daeb5e4eb1a7abc77782d4b42e9061 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 3 Nov 2020 09:12:09 +0800 Subject: [PATCH 2/2] update log --- app/src/main/assets/updateLog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 988c18479..6457a9413 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -3,6 +3,10 @@ * 关注合作公众号 **[小说拾遗]()** 获取好看的小说。 * 旧版数据导入教程:先在旧版阅读(2.x)中进行备份,然后在新版阅读(3.x)【我的】->【备份与恢复】,选择【导入旧版本数据】。 +**2020/11/03** +* 详情页菜单添加拷贝URL +* 解决一些书名太长缓存报错的bug + **2020/11/01** * 导入本地添加智能扫描,菜单-智能扫描,扫描当前文件夹包括子文件夹下所有文件