pull/279/head
gedoor 4 years ago
parent 25cbfcee91
commit 6cf608b37c
  1. 2
      app/src/main/java/io/legado/app/utils/FileUtils.kt

@ -18,7 +18,7 @@ object FileUtils {
} }
fun createFolderIfNotExist(root: File, vararg subDirs: String): File { 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) return createFolderIfNotExist(filePath)
} }

Loading…
Cancel
Save