Case insensitive source directory search

+ adding junrar library
This commit is contained in:
arkon 2021-04-16 22:27:00 -04:00 committed by Jays2Kings
parent eb88d4e94f
commit f9a724ee7b
2 changed files with 3 additions and 2 deletions

View File

@ -171,7 +171,8 @@ 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
implementation("org.jsoup:jsoup:1.13.1")

View File

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