feat: 优化代码

pull/133/head
kunfei 5 years ago
parent 7321163cef
commit daba2f481e
  1. 3
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -13,7 +13,6 @@ import io.legado.app.utils.FileUtils
import io.legado.app.utils.LogUtils
import io.legado.app.utils.postEvent
import kotlinx.coroutines.isActive
import org.jetbrains.anko.toast
import java.io.File
import java.io.FileDescriptor
import java.io.FileInputStream
@ -84,8 +83,6 @@ class HttpReadAloudService : BaseReadAloudService(),
break
}
}
}.onError {
toast("下载朗读文件出错:${it.localizedMessage}")
}
}

Loading…
Cancel
Save