Attempt to fix image decoder issue
This commit is contained in:
parent
947efe58a5
commit
b3ab8895e3
1 changed files with 2 additions and 2 deletions
|
|
@ -62,8 +62,8 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
|||
}
|
||||
|
||||
private fun isApplicable(source: BufferedSource): Boolean {
|
||||
val type = source.peek().inputStream().use {
|
||||
// SY -->
|
||||
// SY -->
|
||||
val type = source.peek().inputStream().buffered().use {
|
||||
if (CbzCrypto.detectCoverImageArchive(it)) return true
|
||||
// SY <--
|
||||
ImageUtil.findImageType(it)
|
||||
|
|
|
|||
Loading…
Reference in a new issue