mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
Adds missing bindings
This commit is contained in:
parent
40c2e95a54
commit
4cebfa13e8
1 changed files with 10 additions and 0 deletions
|
@ -23,6 +23,10 @@ import dagger.hilt.InstallIn
|
|||
import dagger.hilt.components.SingletonComponent
|
||||
import im.vector.app.GoogleFlavorLegals
|
||||
import im.vector.app.core.pushers.FcmHelper
|
||||
import im.vector.app.core.resources.AppNameProvider
|
||||
import im.vector.app.core.resources.DefaultAppNameProvider
|
||||
import im.vector.app.core.resources.DefaultLocaleProvider
|
||||
import im.vector.app.core.resources.LocaleProvider
|
||||
import im.vector.app.core.services.GuardServiceStarter
|
||||
import im.vector.app.features.home.NightlyProxy
|
||||
import im.vector.app.features.settings.legals.FlavorLegals
|
||||
|
@ -46,6 +50,12 @@ abstract class FlavorModule {
|
|||
@Binds
|
||||
abstract fun bindsFcmHelper(fcmHelper: GoogleFcmHelper): FcmHelper
|
||||
|
||||
@Binds
|
||||
abstract fun bindsLocaleProvider(localeProvider: DefaultLocaleProvider): LocaleProvider
|
||||
|
||||
@Binds
|
||||
abstract fun bindsAppNameProvider(appNameProvider: DefaultAppNameProvider): AppNameProvider
|
||||
|
||||
@Binds
|
||||
abstract fun bindsFlavorLegals(legals: GoogleFlavorLegals): FlavorLegals
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue