mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
Fix download cache not working for a source name change
real commits coming soon
This commit is contained in:
parent
cfbc3156a1
commit
1e9b9dabe3
@ -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…
Reference in New Issue
Block a user