fix(local/7z): Fix loading previous pages (#2)

This commit is contained in:
Claudemirovsky
2024-01-03 20:26:31 -03:00
committed by GitHub
parent 9e8b14d141
commit 329bf1039d
3 changed files with 4 additions and 4 deletions

View File

@@ -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()