Minor cleanup

This commit is contained in:
Jobobby04
2024-05-04 23:15:17 -04:00
parent b6b33e8c00
commit 253060a3bc
3 changed files with 12 additions and 7 deletions
@@ -43,7 +43,9 @@ internal class ZipPageLoader(file: UniFile, context: Context) : PageLoader() {
}
private val apacheZip: ZipFile? = if (!file.isEncryptedZip() && Build.VERSION.SDK_INT > Build.VERSION_CODES.N) {
ZipFile(channel)
ZipFile.Builder()
.setSeekableByteChannel(channel)
.get()
} else {
null
}