Skip to content

Commit

Permalink
Use selected survey id for checking active survey (#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 authored Feb 27, 2024
1 parent ec64292 commit 8959772
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ constructor(
}

private fun getDirectionAfterSignIn(): NavDirections =
if (surveyRepository.activeSurvey != null) {
if (surveyRepository.selectedSurveyId != null) {
HomeScreenFragmentDirections.showHomeScreen()
} else {
SurveySelectorFragmentDirections.showSurveySelectorScreen(true)
Expand Down

0 comments on commit 8959772

Please sign in to comment.