Make the app Android 8+

This commit is contained in:
AntsyLich
2024-01-15 22:43:13 +06:00
parent 98bdef230a
commit dfb3091e38
51 changed files with 177 additions and 356 deletions

View File

@@ -14,11 +14,7 @@ import java.util.zip.ZipFile
*/
internal class ZipPageLoader(file: File) : PageLoader() {
private val zip = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
ZipFile(file, StandardCharsets.ISO_8859_1)
} else {
ZipFile(file)
}
private val zip = ZipFile(file, StandardCharsets.ISO_8859_1)
override var isLocal: Boolean = true