NetworkModule: oops, disable showing headers in logcat

main
Alibek Omarov 5 years ago
parent fed8b01764
commit 508a91070e
  1. 2
      app/src/main/java/com/keylesspalace/tusky/di/NetworkModule.kt

@ -59,7 +59,7 @@ class NetworkModule {
.apply { .apply {
addInterceptor(InstanceSwitchAuthInterceptor(accountManager)) addInterceptor(InstanceSwitchAuthInterceptor(accountManager))
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
addInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.HEADERS }) addInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BASIC })
} }
} }
.build() .build()

Loading…
Cancel
Save