From 2c2a0b1a536810761a11da6e05378b7a89ed96e7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 31 Aug 2023 05:51:20 +0000 Subject: chore(deps): update hilt to v2.48 (#2668) * chore(deps): update hilt to v2.48 * fix: remove unsupported extension syntax --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya --- .../java/app/passwordstore/injection/coroutines/DispatcherModule.kt | 2 +- app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt | 2 +- gradle/libs.versions.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/passwordstore/injection/coroutines/DispatcherModule.kt b/app/src/main/java/app/passwordstore/injection/coroutines/DispatcherModule.kt index 3539845f..27af356d 100644 --- a/app/src/main/java/app/passwordstore/injection/coroutines/DispatcherModule.kt +++ b/app/src/main/java/app/passwordstore/injection/coroutines/DispatcherModule.kt @@ -15,5 +15,5 @@ import dagger.hilt.components.SingletonComponent @Module @InstallIn(SingletonComponent::class) interface DispatcherModule { - @Binds fun DefaultDispatcherProvider.bind(): DispatcherProvider + @Binds fun bindDispatcherProvider(impl: DefaultDispatcherProvider): DispatcherProvider } diff --git a/app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt b/app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt index ed9435ed..b0b1ec15 100644 --- a/app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt +++ b/app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt @@ -15,5 +15,5 @@ import dagger.hilt.android.components.ActivityComponent @Module @InstallIn(ActivityComponent::class) interface TotpModule { - @Binds fun UriTotpFinder.bind(): TotpFinder + @Binds fun bindTotpFinder(impl: UriTotpFinder): TotpFinder } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 284fd212..d5c2bbef 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,7 +7,7 @@ moshi = "1.15.0" composeCompiler = "1.5.3-dev-k1.9.10-593b4c95fce" coroutines = "1.7.3" flowbinding = "1.2.0" -hilt = "2.47" +hilt = "2.48" kotlin = "1.9.10" leakcanary = "2.12" lifecycle = "2.6.1" -- cgit v1.2.3