Case insensitive source directory search

(cherry picked from commit a59e134862be796f5409d7fb535a2dd5225a8ead)

# Conflicts:
#	app/build.gradle.kts
This commit is contained in:
arkon 2021-04-16 22:27:00 -04:00 committed by Jobobby04
parent bc28e2d617
commit fb5872ef51
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ dependencies {
// Disk
implementation("com.jakewharton:disklrucache:2.0.2")
implementation("com.github.inorichi:unifile:e9ee588")
implementation("com.github.tachiyomiorg:unifile:17bec43")
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), true)
}
/**