pull/540/head
gedoor 4 years ago
parent 31a5c9f3e6
commit 679050ccb5
  1. 2
      app/src/main/java/io/legado/app/utils/EncodingDetect.kt

@ -69,7 +69,7 @@ object EncodingDetect {
private fun getFileBytes(testFile: File?): ByteArray {
val fis: FileInputStream
val byteArray: ByteArray = ByteArray(2000)
val byteArray = ByteArray(2000)
try {
fis = FileInputStream(testFile)
fis.read(byteArray)

Loading…
Cancel
Save