mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-07-23 11:39:15 +00:00
Clean up Hilt modules
This commit is contained in:
parent
4a200dfbb7
commit
9d739dd087
|
@ -22,23 +22,17 @@ interface OseFlavorModules {
|
|||
|
||||
@Module
|
||||
@InstallIn(ActivityComponent::class)
|
||||
interface AccountsDrawerHandlerModule {
|
||||
interface ForActivities {
|
||||
@Binds
|
||||
abstract fun accountsDrawerHandler(handler: OseAccountsDrawerHandler): AccountsDrawerHandler
|
||||
}
|
||||
abstract fun accountsDrawerHandler(impl: OseAccountsDrawerHandler): AccountsDrawerHandler
|
||||
|
||||
@Module
|
||||
@InstallIn(ActivityComponent::class)
|
||||
interface OpenSourceLicenseInfoProviderModule {
|
||||
@Binds
|
||||
fun appLicenseInfoProviderModule(impl: OpenSourceLicenseInfoProvider): AboutActivity.AppLicenseInfoProvider
|
||||
fun appLicenseInfoProvider(impl: OpenSourceLicenseInfoProvider): AboutActivity.AppLicenseInfoProvider
|
||||
}
|
||||
|
||||
|
||||
//// intro fragments ////
|
||||
|
||||
// WelcomeFragment and BatteryOptimizationsFragment modules are hardcoded there
|
||||
|
||||
@Module
|
||||
@InstallIn(ActivityComponent::class)
|
||||
interface OpenSourceFragmentModule {
|
||||
|
|
Loading…
Reference in a new issue