From 5fca25b4903c0eae24a594472b01ce6562e257d9 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 21 May 2020 03:04:54 -0400 Subject: [PATCH] Readd chucker to network --- app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt index 62b499db52..b0a0a27c50 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt @@ -1,6 +1,7 @@ package eu.kanade.tachiyomi.network import android.content.Context +import com.chuckerteam.chucker.api.ChuckerInterceptor import okhttp3.Cache import okhttp3.OkHttpClient import java.io.File @@ -16,7 +17,7 @@ class NetworkHelper(context: Context) { val client = OkHttpClient.Builder() .cookieJar(cookieManager) .cache(Cache(cacheDir, cacheSize)) -// .addInterceptor(ChuckerInterceptor(context)) + .addInterceptor(ChuckerInterceptor(context)) .build() val cloudflareClient = client.newBuilder()