From 02c9191525c08dbaf02c2efa2296be86a67b2322 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 11 Apr 2021 14:03:23 -0400 Subject: [PATCH] Make source download folder name case-insensitive Fixes issues from things like "Mangasee" being renamed to "MangaSee" --- 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 c3acefae1..844bdaa82 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.inorichi:unifile:e9ee588") + implementation("com.github.tachiyomiorg:unifile:72cbbb5") 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..d8578455e 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), false) } /**