package app.closer.di

import app.closer.analytics.LogcatRetentionAnalytics
import app.closer.analytics.RetentionAnalytics
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
abstract class AnalyticsModule {

    @Binds
    @Singleton
    abstract fun bindRetentionAnalytics(impl: LogcatRetentionAnalytics): RetentionAnalytics
}
