mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix download cache not working for a source name change
real commits coming soon
This commit is contained in:
parent
cfbc3156a1
commit
1e9b9dabe3
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class DownloadCache(
|
|||
|
||||
val sourceDirs = getDirectoryFromPreference().listFiles().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
|
||||
}
|
||||
|
||||
val db: DatabaseHelper by injectLazy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue