From 5bfb451c11fd6749e8eb0ff4e4939d5089ea9825 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 5 Nov 2022 23:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/updateLog.md | 3 ++- .../java/io/legado/app/ui/association/OnLineImportActivity.kt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 09e9359b4..3c77eafe7 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -11,10 +11,11 @@ * 正文出现缺字漏字、内容缺失、排版错乱等情况,有可能是净化规则或简繁转换出现问题。 * 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源! -**2022/10/30** +**2022/11/05** * 发现不采用详情页url正则 * 目录更新完再缓存章节,缓存章节可以设置为0,为0时不缓存 +* 添加书籍协议legado://import/addToBookshelf?src={url} **2022/10/29** diff --git a/app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt b/app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt index c7092cdfb..bed546b4b 100644 --- a/app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt +++ b/app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt @@ -73,7 +73,7 @@ class OnLineImportActivity : "/readConfig" -> viewModel.getBytes(url) { bytes -> viewModel.importReadConfig(bytes, this::finallyDialog) } - "addToBookshelf" -> showDialogFragment( + "/addToBookshelf" -> showDialogFragment( AddToBookshelfDialog(url) ) "/importonline" -> when (it.host) {