Skip to content

Commit 99dbd2e

Browse files
committed
comment
1 parent 867c169 commit 99dbd2e

File tree

1 file changed

+3
-0
lines changed
  • libnavui-app/src/main/java/com/mapbox/navigation/ui/app/internal

1 file changed

+3
-0
lines changed

libnavui-app/src/main/java/com/mapbox/navigation/ui/app/internal/SharedApp.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ object SharedApp {
6464
}
6565
)
6666
MapboxNavigationApp.lifecycleOwner.attachCreated(*navigationObservers)
67+
68+
// TODO Remove this from SharedApp. The components that use `MapboxAudioGuidance`
69+
// will "ensureAudioGuidanceRegistered". See the `ComponentInstaller.audioGuidanceButton`
6770
if (MapboxNavigationApp.getObservers(MapboxAudioGuidance::class).isEmpty()) {
6871
MapboxNavigationApp.registerObserver(MapboxAudioGuidance())
6972
}

0 commit comments

Comments
 (0)