diff --git a/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountActivity.kt index c4a11d9f37..55df7f9c02 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountActivity.kt @@ -26,7 +26,7 @@ class LoadAccountActivity : BaseActionBarActivity() { @Inject internal lateinit var loadingManager: LoadingManager - private val viewModel: LinkDeviceViewModel by viewModels() + private val viewModel: LoadAccountViewModel by viewModels() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) diff --git a/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountViewModel.kt b/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountViewModel.kt index 66cb3e006f..f98c725dea 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountViewModel.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/onboarding/loadaccount/LoadAccountViewModel.kt @@ -28,7 +28,7 @@ internal data class State( ) @HiltViewModel -internal class LinkDeviceViewModel @Inject constructor( +internal class LoadAccountViewModel @Inject constructor( private val application: Application ): AndroidViewModel(application) { private val state = MutableStateFlow(State())