Skip to content

Commit

Permalink
fix: run WireViewModel usecases on worker thread (WPB-6874) (#3100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine authored Jun 18, 2024
1 parent 156c272 commit 396d0d1
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 116 deletions.
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

0 comments on commit 396d0d1

Please sign in to comment.