Skip to content

Commit

Permalink
[chore] #64 login intent
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook123 committed Jan 7, 2024
1 parent 913d567 commit 725078a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import org.sopt.common.intentprovider.IntentProvider
import org.sopt.common.intentprovider.LOGIN
import org.sopt.login.onboarding.intentprovider.IntentProviderImpl
import javax.inject.Singleton

Expand All @@ -13,5 +14,6 @@ import javax.inject.Singleton
abstract class IntentModule {
@Binds
@Singleton
@LOGIN
abstract fun bindsIntentProvider(intentProvider: IntentProviderImpl): IntentProvider
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ import javax.inject.Inject
class IntentProviderImpl @Inject constructor(
@ApplicationContext private val context: Context,
) : IntentProvider {
override fun getAuthIntent(): Intent =
override fun getIntent(): Intent =
LoginActivity.newInstance(context)
}

0 comments on commit 725078a

Please sign in to comment.