mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-24 20:18:53 +02:00
fix(local/7z): Fix loading previous pages (#2)
This commit is contained in:
@@ -19,7 +19,7 @@ internal class SevenZipPageLoader(file: File) : PageLoader() {
|
||||
return zip.getImages()
|
||||
.mapIndexed { i, entry ->
|
||||
ReaderPage(i).apply {
|
||||
stream = { entry }
|
||||
stream = { entry.copyOf().inputStream() }
|
||||
status = Page.State.READY
|
||||
}
|
||||
}.toList()
|
||||
|
||||
Reference in New Issue
Block a user