fix: replace unsupported extension syntax

This commit is contained in:
Harsh Shandilya 2023-08-30 22:35:21 +05:30 committed by GitHub
parent 0c29a6626d
commit 6db7880178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -31,9 +31,9 @@ import okhttp3.logging.HttpLoggingInterceptor
@ContributesTo(ApplicationScope::class)
interface OkHttpModule {
@Binds fun NapierLogger.bindLogger(): HttpLoggingInterceptor.Logger
@Binds fun bindLogger(impl: NapierLogger): HttpLoggingInterceptor.Logger
@Binds @IntoSet fun UserAgentInterceptor.bindUAInterceptor(): Interceptor
@Binds @IntoSet fun bindUAInterceptor(impl: UserAgentInterceptor): Interceptor
companion object {
private const val CACHE_SIZE_MB = 10L * 1024 * 1024