Fix download cache not working for a source name change
(cherry picked from commit 73dcc7bcb1c229d8ec3f9819387ac00a3838ffb0)
This commit is contained in:
parent
03d8425686
commit
6e390d4205
@ -128,7 +128,7 @@ class DownloadCache(
|
||||
.orEmpty()
|
||||
.associate { it.name to SourceDirectory(it) }
|
||||
.mapNotNullKeys { entry ->
|
||||
onlineSources.find { provider.getSourceDirName(it) == entry.key }?.id
|
||||
onlineSources.find { provider.getSourceDirName(it).toLowerCase() == entry.key?.toLowerCase() }?.id
|
||||
}
|
||||
|
||||
rootDir.files = sourceDirs
|
||||
|
Loading…
x
Reference in New Issue
Block a user