Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
Fix crash when opening AboutActivity (#632)
Browse files Browse the repository at this point in the history
Fix crash when opening AboutActivity
  • Loading branch information
quiro91 committed Oct 28, 2019
2 parents 998a3b9 + c770ac8 commit 86426d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/net/squanchy/about/AboutComponent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ import dagger.Component
import net.squanchy.injection.BaseActivityComponentBuilder
import net.squanchy.injection.ActivityLifecycle
import net.squanchy.injection.ApplicationComponent
import net.squanchy.injection.applicationComponent
import net.squanchy.navigation.NavigationModule
import net.squanchy.navigation.Navigator

fun aboutComponent(activity: AppCompatActivity): AboutComponent =
DaggerAboutComponent.builder()
.applicationComponent(activity.applicationComponent)
.activity(activity)
.build()

Expand Down

0 comments on commit 86426d9

Please sign in to comment.