From a59e134862be796f5409d7fb535a2dd5225a8ead Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 16 Apr 2021 22:27:00 -0400 Subject: [PATCH] Case insensitive source directory search --- app/build.gradle.kts | 2 +- .../java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c35805f40..5a98518c8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -174,7 +174,7 @@ dependencies { // Disk implementation("com.jakewharton:disklrucache:2.0.2") - implementation("com.github.tachiyomiorg:unifile:e9e3a40") + implementation("com.github.tachiyomiorg:unifile:17bec43") implementation("com.github.junrar:junrar:7.4.0") // HTML parser diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt index 8083a7c1b..200c1c965 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt @@ -65,7 +65,7 @@ class DownloadProvider(private val context: Context) { * @param source the source to query. */ fun findSourceDir(source: Source): UniFile? { - return downloadsDir.findFile(getSourceDirName(source)) + return downloadsDir.findFile(getSourceDirName(source), true) } /**