18 lines
No EOL
540 B
Kotlin
18 lines
No EOL
540 B
Kotlin
package com.tangem.tap.di
|
|
|
|
import com.tangem.tap.FirebasePushNotificationsTokenProvider
|
|
import com.tangem.utils.notifications.PushNotificationsTokenProvider
|
|
import dagger.Binds
|
|
import dagger.Module
|
|
import dagger.hilt.InstallIn
|
|
import dagger.hilt.components.SingletonComponent
|
|
import javax.inject.Singleton
|
|
|
|
@Module
|
|
@InstallIn(SingletonComponent::class)
|
|
internal interface GooglePushModule {
|
|
|
|
@Binds
|
|
@Singleton
|
|
fun bindPushNotificationsTokenProvider(impl: FirebasePushNotificationsTokenProvider): PushNotificationsTokenProvider
|
|
} |