Skip to content

Commit

Permalink
[GH-1440] - Minor refactor, to keep things aligned.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincethecoder committed Aug 2, 2018
1 parent aedb833 commit efbbb5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MapboxNavigation/RouteMapViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -830,9 +830,9 @@ extension RouteMapViewController: NavigationViewDelegate {

private func roadFeature(for line: MGLPolylineFeature) -> (roadName: String?, shieldName: NSAttributedString?) {
let roadNameRecord = roadFeatureHelper(ref: line.attribute(forKey: "ref"),
shield: line.attribute(forKey: "shield"),
reflen: line.attribute(forKey: "reflen"),
name: line.attribute(forKey: "name"))
shield: line.attribute(forKey: "shield"),
reflen: line.attribute(forKey: "reflen"),
name: line.attribute(forKey: "name"))

return (roadName: roadNameRecord.roadName, shieldName: roadNameRecord.shieldName)
}
Expand Down

0 comments on commit efbbb5a

Please sign in to comment.