Make source download folder name case-insensitive

Fixes issues from things like "Mangasee" being renamed to "MangaSee"
This commit is contained in:
arkon 2021-04-11 14:03:23 -04:00
parent d421401626
commit 02c9191525
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}
/**