@complexify/expo-mapbox-navigation 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,6 @@ import MapboxMaps
|
|
4
4
|
import MapboxNavigationUIKit
|
5
5
|
import MapboxDirections
|
6
6
|
import Combine
|
7
|
-
import CustomNavigationStyle
|
8
7
|
|
9
8
|
|
10
9
|
class ExpoMapboxNavigationView: ExpoView {
|
@@ -19,7 +18,6 @@ class ExpoMapboxNavigationView: ExpoView {
|
|
19
18
|
let controller = ExpoMapboxNavigationViewController()
|
20
19
|
|
21
20
|
let customDayStyle = CustomDayStyle()
|
22
|
-
let customNightStyle = CustomNightStyle()
|
23
21
|
|
24
22
|
required init(appContext: AppContext? = nil) {
|
25
23
|
super.init(appContext: appContext)
|
@@ -438,7 +436,7 @@ class ExpoMapboxNavigationViewController: UIViewController {
|
|
438
436
|
}
|
439
437
|
|
440
438
|
let navigationOptions = NavigationOptions(
|
441
|
-
styles: [customDayStyle
|
439
|
+
styles: [customDayStyle],
|
442
440
|
mapboxNavigation: self.mapboxNavigation!,
|
443
441
|
voiceController: ExpoMapboxNavigationViewController.navigationProvider.routeVoiceController,
|
444
442
|
eventsManager: ExpoMapboxNavigationViewController.navigationProvider.eventsManager(),
|