pull/1391/head
gedoor 3 years ago
parent 8919180b1c
commit eb1ffa40dc
  1. 4
      app/src/main/java/io/legado/app/help/http/HttpHelper.kt

@ -44,11 +44,9 @@ val okHttpClient: OkHttpClient by lazy {
.build()
chain.proceed(request)
})
if (AppConfig.isCronet && CronetLoader.install()) {
cronetEngine?.let {
if (AppConfig.isCronet && CronetLoader.install() && cronetEngine != null) {
builder.addInterceptor(CronetInterceptor(null))
}
}
builder.build()
}

Loading…
Cancel
Save