Skip to content

Commit

Permalink
Remove @BindsInstance from ShotActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardsurfer committed Oct 30, 2018
1 parent 99c9784 commit fde7533
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package io.plaidapp.dribbble.dagger

import dagger.BindsInstance
import dagger.Component
import io.plaidapp.core.dagger.CoreComponent
import io.plaidapp.core.dagger.dribbble.DribbbleDataModule
Expand All @@ -37,7 +36,6 @@ interface DribbbleComponent {
interface Builder {

fun build(): DribbbleComponent
@BindsInstance fun activity(activity: ShotActivity): Builder
fun coreComponent(component: CoreComponent): Builder
fun dribbbleModule(module: DribbbleModule): Builder
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import io.plaidapp.ui.PlaidApplication
*/
fun ShotActivity.inject(shotId: Long) {
DaggerDribbbleComponent.builder()
.activity(this)
.coreComponent(PlaidApplication.coreComponent(this))
.dribbbleModule(DribbbleModule(this, shotId))
.build()
Expand Down

0 comments on commit fde7533

Please sign in to comment.