diff --git a/lib-multisrc/peachscan/build.gradle.kts b/lib-multisrc/peachscan/build.gradle.kts index 7c0e9df73..f0079f29b 100644 --- a/lib-multisrc/peachscan/build.gradle.kts +++ b/lib-multisrc/peachscan/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("lib-multisrc") } -baseVersionCode = 6 +baseVersionCode = 7 dependencies { compileOnly("com.github.tachiyomiorg:image-decoder:e08e9be535") diff --git a/lib-multisrc/peachscan/src/eu/kanade/tachiyomi/multisrc/peachscan/PeachScan.kt b/lib-multisrc/peachscan/src/eu/kanade/tachiyomi/multisrc/peachscan/PeachScan.kt index a5a6b8035..bcfe4bd62 100644 --- a/lib-multisrc/peachscan/src/eu/kanade/tachiyomi/multisrc/peachscan/PeachScan.kt +++ b/lib-multisrc/peachscan/src/eu/kanade/tachiyomi/multisrc/peachscan/PeachScan.kt @@ -198,7 +198,7 @@ abstract class PeachScan( val entryIndex = splitEntryName.first().toInt() val entryType = splitEntryName.last() - val imageData = if (entryType == "avif") { + val imageData = if (entryType == "avif" || splitEntryName.size == 1) { zis.readBytes() } else { val svgBytes = zis.readBytes()