We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867c169 commit 99dbd2eCopy full SHA for 99dbd2e
libnavui-app/src/main/java/com/mapbox/navigation/ui/app/internal/SharedApp.kt
@@ -64,6 +64,9 @@ object SharedApp {
64
}
65
)
66
MapboxNavigationApp.lifecycleOwner.attachCreated(*navigationObservers)
67
+
68
+ // TODO Remove this from SharedApp. The components that use `MapboxAudioGuidance`
69
+ // will "ensureAudioGuidanceRegistered". See the `ComponentInstaller.audioGuidanceButton`
70
if (MapboxNavigationApp.getObservers(MapboxAudioGuidance::class).isEmpty()) {
71
MapboxNavigationApp.registerObserver(MapboxAudioGuidance())
72
0 commit comments