Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit c83093a

Browse files
authored
Merge pull request #4929 from corona-warn-app/fix/14397-crash-on-nicht-teilen
Fix/14397 crash on check-in screen
2 parents f686e5a + 2dda783 commit c83093a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/xcode/ENA/ENA/Source/Scenes/ExposureSubmission/ExposureSubmissionCoordinator.swift

+2-7
Original file line numberDiff line numberDiff line change
@@ -856,16 +856,11 @@ class ExposureSubmissionCoordinator: NSObject, RequiresAppDependencies {
856856
checkins: model.eventProvider.checkinsPublisher.value,
857857
onCompletion: { [weak self] selectedCheckins in
858858
self?.model.exposureSubmissionService.checkins = selectedCheckins
859-
860-
if isSRSFlow {
861-
self?.showSymptomsScreen()
862-
} else {
863-
showNextScreen()
864-
}
859+
isSRSFlow ? self?.showSymptomsScreen() : showNextScreen()
865860
},
866861
onSkip: { [weak self] in
867862
self?.showSkipCheckinsAlert(dontShareHandler: {
868-
showNextScreen()
863+
isSRSFlow ? self?.showSymptomsScreen() : showNextScreen()
869864
})
870865
},
871866
onDismiss: { [weak self] in

0 commit comments

Comments
 (0)