Skip to content

Commit

Permalink
Inform delegate when canceling through eorvc
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Apr 20, 2018
1 parent d7f8c4d commit 86d11ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapboxNavigation/RouteMapViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func defaultFeedbackHandlers(source: FeedbackSource = .user) -> (send: FeedbackV
endOfRoute.dismissHandler = { [weak self] (stars, comment) in
guard let rating = self?.rating(for: stars) else { return }
self?.routeController.setEndOfRoute(rating: rating, comment: comment)
self?.dismiss(animated: true, completion: nil)
self?.delegate?.mapViewControllerDidCancelNavigation(self!)
}
}

Expand Down

0 comments on commit 86d11ab

Please sign in to comment.