From 6cf608b37cdb0a4755b8d7ff62d25ead3bed3b49 Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 20 Jul 2020 22:40:38 +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/java/io/legado/app/utils/FileUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/utils/FileUtils.kt b/app/src/main/java/io/legado/app/utils/FileUtils.kt index 2e07e1839..d82f6bca0 100644 --- a/app/src/main/java/io/legado/app/utils/FileUtils.kt +++ b/app/src/main/java/io/legado/app/utils/FileUtils.kt @@ -18,7 +18,7 @@ object FileUtils { } fun createFolderIfNotExist(root: File, vararg subDirs: String): File { - val filePath = root.absolutePath + File.separator + subDirs.joinToString(File.separator) + val filePath = getPath(root, subDirs = *subDirs) return createFolderIfNotExist(filePath) }