From c8d12cb8e1c0ce46eeb4795ae79e8c5f5da50c8f Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 21 Aug 2021 17:47:46 +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 | 2 +- .../main/java/io/legado/app/utils/ActivityResultContracts.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index e86de2c23..f471c1400 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -12,7 +12,7 @@ * 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源! * 关于最近版本有时候界面没有数据的问题是因为把LiveData组件换成了谷歌推荐的Flow组件导致的问题,正在查找解决办法 -**2021/08/18** +**2021/08/21** 1. 阅读时自动更新最新章节 2. 朗读添加媒体按键配置 diff --git a/app/src/main/java/io/legado/app/utils/ActivityResultContracts.kt b/app/src/main/java/io/legado/app/utils/ActivityResultContracts.kt index 152912332..108c28bd0 100644 --- a/app/src/main/java/io/legado/app/utils/ActivityResultContracts.kt +++ b/app/src/main/java/io/legado/app/utils/ActivityResultContracts.kt @@ -12,7 +12,7 @@ class SelectImageContract : ActivityResultContract?>() { override fun createIntent(context: Context, input: Int?): Intent { requestCode = input - return Intent(Intent.ACTION_OPEN_DOCUMENT) + return Intent(Intent.ACTION_GET_CONTENT) .addCategory(Intent.CATEGORY_OPENABLE) .setType("image/*") }