mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +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? {
|
private fun findFileNameStartingWith(directoryPath: String, fileName: String): String? {
|
||||||
File(directoryPath).listFiles().forEach { file ->
|
File(directoryPath).listFiles().forEach { file ->
|
||||||
if (file.name.startsWith(fileName))
|
if (file.name.startsWith("$fileName."))
|
||||||
return "$directoryPath/${file.name}"
|
return "$directoryPath/${file.name}"
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
|
Loading…
Reference in New Issue
Block a user