diff --git a/Course/Course/Presentation/Unit/CourseNavigationView.swift b/Course/Course/Presentation/Unit/CourseNavigationView.swift index d65ba30c6..4c540083d 100644 --- a/Course/Course/Presentation/Unit/CourseNavigationView.swift +++ b/Course/Course/Presentation/Unit/CourseNavigationView.swift @@ -50,8 +50,8 @@ struct CourseNavigationView: View { alertMessage: (CourseLocalization.Courseware.section + currentVertical.displayName + CourseLocalization.Courseware.isFinished), nextSectionName: { - if let data = viewModel.nextData, - let vertical = viewModel.vertical(for: data) { + if let data = viewModel.nextData, + let vertical = viewModel.vertical(for: data) { return vertical.displayName } return nil