diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt index 470f3780..4cc877b7 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/injection/HTMLConverterModule.kt @@ -16,5 +16,5 @@ import dev.msfjarvis.claw.common.comments.HTMLConverter @Module @ContributesTo(ApplicationScope::class) interface HTMLConverterModule { - @Binds fun HTMLConverterImpl.bind(): HTMLConverter + @Binds fun bindHTMLConverter(impl: HTMLConverterImpl): HTMLConverter } diff --git a/core/src/main/kotlin/dev/msfjarvis/claw/core/injection/OkHttpModule.kt b/core/src/main/kotlin/dev/msfjarvis/claw/core/injection/OkHttpModule.kt index 142d4f23..35c3e5f5 100644 --- a/core/src/main/kotlin/dev/msfjarvis/claw/core/injection/OkHttpModule.kt +++ b/core/src/main/kotlin/dev/msfjarvis/claw/core/injection/OkHttpModule.kt @@ -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