Skip to content
Snippets Groups Projects
Commit d304a1ab authored by Taras's avatar Taras
Browse files

Setup di

parent 13477f43
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ import org.futo.circles.feature.sign_up.SignUpDataSource ...@@ -31,6 +31,7 @@ import org.futo.circles.feature.sign_up.SignUpDataSource
import org.futo.circles.feature.sign_up.setup_circles.SetupCirclesDataSource import org.futo.circles.feature.sign_up.setup_circles.SetupCirclesDataSource
import org.futo.circles.feature.sign_up.setup_profile.SetupProfileDataSource import org.futo.circles.feature.sign_up.setup_profile.SetupProfileDataSource
import org.futo.circles.feature.sign_up.sign_up_type.SelectSignUpTypeDataSource import org.futo.circles.feature.sign_up.sign_up_type.SelectSignUpTypeDataSource
import org.futo.circles.feature.sign_up.subscription_stage.SubscriptionStageDataSource
import org.futo.circles.feature.sign_up.terms.AcceptTermsDataSource import org.futo.circles.feature.sign_up.terms.AcceptTermsDataSource
import org.futo.circles.feature.sign_up.validate_email.ValidateEmailDataSource import org.futo.circles.feature.sign_up.validate_email.ValidateEmailDataSource
import org.futo.circles.feature.sign_up.validate_token.ValidateTokenDataSource import org.futo.circles.feature.sign_up.validate_token.ValidateTokenDataSource
...@@ -92,4 +93,5 @@ val dataSourceModule = module { ...@@ -92,4 +93,5 @@ val dataSourceModule = module {
factory { UserOptionsDataSource() } factory { UserOptionsDataSource() }
factory { (userId: String) -> UserDataSource(get(), userId) } factory { (userId: String) -> UserDataSource(get(), userId) }
single { PickDeviceMediaDataSource(get()) } single { PickDeviceMediaDataSource(get()) }
factory { SubscriptionStageDataSource(get()) }
} }
\ No newline at end of file
...@@ -28,6 +28,7 @@ import org.futo.circles.feature.sign_up.SignUpViewModel ...@@ -28,6 +28,7 @@ import org.futo.circles.feature.sign_up.SignUpViewModel
import org.futo.circles.feature.sign_up.setup_circles.SetupCirclesViewModel import org.futo.circles.feature.sign_up.setup_circles.SetupCirclesViewModel
import org.futo.circles.feature.sign_up.setup_profile.SetupProfileViewModel import org.futo.circles.feature.sign_up.setup_profile.SetupProfileViewModel
import org.futo.circles.feature.sign_up.sign_up_type.SelectSignUpTypeViewModel import org.futo.circles.feature.sign_up.sign_up_type.SelectSignUpTypeViewModel
import org.futo.circles.feature.sign_up.subscription_stage.SubscriptionStageViewModel
import org.futo.circles.feature.sign_up.terms.AcceptTermsViewModel import org.futo.circles.feature.sign_up.terms.AcceptTermsViewModel
import org.futo.circles.feature.sign_up.validate_email.ValidateEmailViewModel import org.futo.circles.feature.sign_up.validate_email.ValidateEmailViewModel
import org.futo.circles.feature.sign_up.validate_token.ValidateTokenViewModel import org.futo.circles.feature.sign_up.validate_token.ValidateTokenViewModel
...@@ -102,4 +103,5 @@ val uiModule = module { ...@@ -102,4 +103,5 @@ val uiModule = module {
viewModel { (isVideoAvailable: Boolean) -> viewModel { (isVideoAvailable: Boolean) ->
PickDeviceMediaViewModel(isVideoAvailable, get()) PickDeviceMediaViewModel(isVideoAvailable, get())
} }
viewModel { SubscriptionStageViewModel(get()) }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment