mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
parent
dc3d456396
commit
26f248f323
@ -2,7 +2,7 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 6
|
baseVersionCode = 7
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.github.tachiyomiorg:image-decoder:e08e9be535")
|
compileOnly("com.github.tachiyomiorg:image-decoder:e08e9be535")
|
||||||
|
@ -198,7 +198,7 @@ abstract class PeachScan(
|
|||||||
val entryIndex = splitEntryName.first().toInt()
|
val entryIndex = splitEntryName.first().toInt()
|
||||||
val entryType = splitEntryName.last()
|
val entryType = splitEntryName.last()
|
||||||
|
|
||||||
val imageData = if (entryType == "avif") {
|
val imageData = if (entryType == "avif" || splitEntryName.size == 1) {
|
||||||
zis.readBytes()
|
zis.readBytes()
|
||||||
} else {
|
} else {
|
||||||
val svgBytes = zis.readBytes()
|
val svgBytes = zis.readBytes()
|
||||||
|
Loading…
Reference in New Issue
Block a user