mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 05:17:03 +05:30
fix: replace unsupported extension syntax
This commit is contained in:
parent
0c29a6626d
commit
6db7880178
2 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ import dev.msfjarvis.claw.common.comments.HTMLConverter
|
||||||
@Module
|
@Module
|
||||||
@ContributesTo(ApplicationScope::class)
|
@ContributesTo(ApplicationScope::class)
|
||||||
interface HTMLConverterModule {
|
interface HTMLConverterModule {
|
||||||
@Binds fun HTMLConverterImpl.bind(): HTMLConverter
|
@Binds fun bindHTMLConverter(impl: HTMLConverterImpl): HTMLConverter
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,9 +31,9 @@ import okhttp3.logging.HttpLoggingInterceptor
|
||||||
@ContributesTo(ApplicationScope::class)
|
@ContributesTo(ApplicationScope::class)
|
||||||
interface OkHttpModule {
|
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 {
|
companion object {
|
||||||
private const val CACHE_SIZE_MB = 10L * 1024 * 1024
|
private const val CACHE_SIZE_MB = 10L * 1024 * 1024
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue