Skip to content

Commit

Permalink
refactor #2377: renamed injection to di & modules to objects
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushSingh07 committed Oct 13, 2023
1 parent 5eee0ce commit e5b2801
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.mifos.mobile.injection.module
package org.mifos.mobile.di

import android.content.Context
import dagger.Module
Expand All @@ -19,7 +19,7 @@ import javax.inject.Singleton
*/
@Module
@InstallIn(SingletonComponent::class)
class ApplicationModule() {
object ApplicationModule {

@Provides
@Singleton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.mifos.mobile.injection.module
package org.mifos.mobile.di

import dagger.Module
import dagger.Provides
Expand All @@ -20,7 +20,7 @@ import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
class NetworkModule {
object NetworkModule {

@Provides
@Singleton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.mifos.mobile.injection.module
package org.mifos.mobile.di

import dagger.Module
import dagger.Provides
Expand All @@ -16,7 +16,7 @@ import retrofit2.Retrofit

@Module
@InstallIn(SingletonComponent::class)
class RepositoryModule {
object RepositoryModule {

@Provides
fun providesUserAuthRepository(dataManager: DataManager): UserAuthRepository {
Expand Down

0 comments on commit e5b2801

Please sign in to comment.