Skip to content

Commit 0dac617

Browse files
committed
fixed the scope for AppComponent
1 parent 1a0f6bb commit 0dac617

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/io/github/mrtry/todolist/di/component/AppComponent.kt

+2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import dagger.Component
44
import io.github.mrtry.todolist.MainApplication
55
import io.github.mrtry.todolist.di.module.ActivityModule
66
import io.github.mrtry.todolist.di.module.AppModule
7+
import javax.inject.Singleton
78

9+
@Singleton
810
@Component(modules = [AppModule::class])
911
interface AppComponent {
1012
fun inject(application: MainApplication)

0 commit comments

Comments
 (0)