aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/app/passwordstore/injection/coroutines/DispatcherModule.kt2
-rw-r--r--app/src/main/java/app/passwordstore/injection/totp/TotpModule.kt2
2 files changed, 2 insertions, 2 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
}