Skip to content

Commit

Permalink
hide endOfRoute UI on dismiss button tap
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Kladek committed Jul 1, 2024
1 parent 4111671 commit 427721a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MapboxNavigation/NavigationViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,9 @@ extension NavigationViewController: RouteControllerDelegate {
guard let self else {
return
}
self.delegate?.navigationViewControllerDidFinishRouting?(self)
self.mapViewController.hideEndOfRoute { _ in
self.delegate?.navigationViewControllerDidFinishRouting?(self)
}
})
}
return advancesToNextLeg
Expand Down

0 comments on commit 427721a

Please sign in to comment.