Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run WireViewModel usecases on worker thread (WPB-6874) #3100

Merged
merged 10 commits into from
Jun 18, 2024
2 changes: 1 addition & 1 deletion app/src/main/kotlin/com/wire/android/ui/WireActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class WireActivity : AppCompatActivity() {
legalHoldRequestedViewModel.observeLegalHoldRequest()

appLogger.i("$TAG start destination")
val startDestination = when (viewModel.initialAppState) {
val startDestination = when (viewModel.initialAppState()) {
InitialAppState.NOT_MIGRATED -> MigrationScreenDestination
InitialAppState.NOT_LOGGED_IN -> WelcomeScreenDestination
InitialAppState.ENROLL_E2EI -> E2EIEnrollmentScreenDestination
Expand Down
Loading
Loading