mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:25:08 +01:00
Revert Part of 1%
Over committed on this
This commit is contained in:
parent
d4bb2ae938
commit
a31beaaf66
@ -141,18 +141,18 @@ dependencies {
|
||||
releaseImplementation("com.github.ChuckerTeam.Chucker:library-no-op:${Versions.CHUCKER}")
|
||||
|
||||
// hyperion
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-core:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-timber:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-core:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-attr:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-build-config:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-crash:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-disk:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-geiger-counter:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-measurement:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-phoenix:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-recorder:${Versions.HYPERION}")
|
||||
// debugImplementation("com.willowtreeapps.hyperion:hyperion-shared-preferences:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-core:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-timber:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-core:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-attr:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-build-config:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-crash:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-disk:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-geiger-counter:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-measurement:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-phoenix:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-recorder:${Versions.HYPERION}")
|
||||
debugImplementation("com.willowtreeapps.hyperion:hyperion-shared-preferences:${Versions.HYPERION}")
|
||||
|
||||
// REST
|
||||
implementation("com.squareup.retrofit2:retrofit:${Versions.RETROFIT}")
|
||||
|
@ -7,6 +7,7 @@ import coil.ImageLoader
|
||||
import coil.decode.GifDecoder
|
||||
import coil.decode.ImageDecoderDecoder
|
||||
import coil.decode.SvgDecoder
|
||||
import com.chuckerteam.chucker.api.ChuckerInterceptor
|
||||
import okhttp3.OkHttpClient
|
||||
|
||||
class CoilSetup(context: Context) {
|
||||
@ -27,7 +28,7 @@ class CoilSetup(context: Context) {
|
||||
add(ByteArrayFetcher())
|
||||
}.okHttpClient {
|
||||
OkHttpClient.Builder()
|
||||
// .addInterceptor(ChuckerInterceptor(context))
|
||||
.addInterceptor(ChuckerInterceptor(context))
|
||||
.build()
|
||||
}
|
||||
.build()
|
||||
|
@ -1,6 +1,7 @@
|
||||
package eu.kanade.tachiyomi.network
|
||||
|
||||
import android.content.Context
|
||||
import com.chuckerteam.chucker.api.ChuckerInterceptor
|
||||
import eu.kanade.tachiyomi.data.preference.PreferencesHelper
|
||||
import okhttp3.Cache
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
@ -24,7 +25,7 @@ class NetworkHelper(context: Context) {
|
||||
OkHttpClient.Builder()
|
||||
.cookieJar(cookieManager)
|
||||
.cache(Cache(cacheDir, cacheSize))
|
||||
// .addInterceptor(ChuckerInterceptor(context))
|
||||
.addInterceptor(ChuckerInterceptor(context))
|
||||
.apply {
|
||||
if (preferences.enableDoh()) {
|
||||
dns(
|
||||
|
Loading…
Reference in New Issue
Block a user