Skip to content

Commit

Permalink
Revert to default arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Sudekum committed Aug 25, 2017
1 parent 674239b commit 74bef1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/Swift/ViewController.swift
Expand Up @@ -162,10 +162,10 @@ class ViewController: UIViewController, MGLMapViewDelegate {

exampleMode = .default

let navigationViewController = NavigationViewController(for: route, styles: [DefaultStyle()], locationManager: locationManager())
let navigationViewController = NavigationViewController(for: route, locationManager: locationManager())
navigationViewController.showsReportFeedback = true
navigationViewController.navigationDelegate = self
navigationViewController.automaticallyAdjustsStyleForTimeOfDay = false
navigationViewController.automaticallyAdjustsStyleForTimeOfDay = true

present(navigationViewController, animated: true, completion: nil)
}
Expand Down

0 comments on commit 74bef1f

Please sign in to comment.