mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-24 15:51:49 +01:00
fix manga thumbnail loading bug
This commit is contained in:
parent
b9ea8c5f74
commit
3a825f4f25
@ -24,7 +24,7 @@ object CachedImageResponse {
|
||||
|
||||
private fun findFileNameStartingWith(directoryPath: String, fileName: String): String? {
|
||||
File(directoryPath).listFiles().forEach { file ->
|
||||
if (file.name.startsWith(fileName))
|
||||
if (file.name.startsWith("$fileName."))
|
||||
return "$directoryPath/${file.name}"
|
||||
}
|
||||
return null
|
||||
|
Loading…
Reference in New Issue
Block a user