Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix download cache not working for a source name change

Cette révision appartient à :
Jay 2020-07-06 23:21:26 -04:00 révisé par arkon
Parent d8b1f60581
révision 73dcc7bcb1

Voir le fichier

@ -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