Skip to content
Permalink
Browse files

Fix crash when opening AboutActivity (#632)

Fix crash when opening AboutActivity
  • Loading branch information
quiro91 committed Oct 28, 2019
2 parents 998a3b9 + c770ac8 commit 86426d962a18d2f35250082bd161f79d7b2a79e0
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/src/main/java/net/squanchy/about/AboutComponent.kt
@@ -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()

0 comments on commit 86426d9

Please sign in to comment.
You can’t perform that action at this time.