mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-16 14:07:28 +01:00
Make the app Android 8+
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user