From 5623569667bd3c9fa01fc13d8210a495a45bd813 Mon Sep 17 00:00:00 2001 From: antonio Date: Sun, 7 May 2023 19:42:42 +0200 Subject: [PATCH] perf: removed "annoying" network interceptor --- .../java/com/cappielloantonio/play/subsonic/RetrofitClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/cappielloantonio/play/subsonic/RetrofitClient.kt b/app/src/main/java/com/cappielloantonio/play/subsonic/RetrofitClient.kt index c09d4939..356483a3 100644 --- a/app/src/main/java/com/cappielloantonio/play/subsonic/RetrofitClient.kt +++ b/app/src/main/java/com/cappielloantonio/play/subsonic/RetrofitClient.kt @@ -41,7 +41,7 @@ class RetrofitClient(subsonic: Subsonic) { .writeTimeout(30, TimeUnit.SECONDS) .addInterceptor(getHttpLoggingInterceptor()) .addInterceptor(cacheUtil.offlineInterceptor) - .addNetworkInterceptor(cacheUtil.onlineInterceptor) + // .addNetworkInterceptor(cacheUtil.onlineInterceptor) .cache(getCache()) .build() }