Skip to content
Snippets Groups Projects
Unverified Commit 1ae88ebb authored by Alex Paulescu's avatar Alex Paulescu Committed by GitHub
Browse files

Fix Datenabruf dialog not dismissed when completing submission (EXPOSUREAPP-7105) (#3204)


* Removed coroutine scope as it wasn't being used.

* Failsafe to dismiss the "Datenabruf" dialog before navigating to a different screen.

* Tests were complaining.

Co-authored-by: default avatarMohamed Metwalli <mohamed.metwalli@sap.com>
parent 2af4eb6d
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ class SubmissionSymptomCalendarFragment : ...@@ -57,6 +57,7 @@ class SubmissionSymptomCalendarFragment :
} }
viewModel.routeToScreen.observe2(this) { viewModel.routeToScreen.observe2(this) {
uploadDialog.setState(show = false)
doNavigate(it) doNavigate(it)
} }
......
...@@ -49,6 +49,7 @@ class SubmissionSymptomIntroductionFragment : ...@@ -49,6 +49,7 @@ class SubmissionSymptomIntroductionFragment :
uploadDialog = SubmissionBlockingDialog(requireContext()) uploadDialog = SubmissionBlockingDialog(requireContext())
viewModel.navigation.observe2(this) { viewModel.navigation.observe2(this) {
uploadDialog.setState(show = false)
doNavigate(it) doNavigate(it)
} }
......
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