Skip to content

Commit b755ba6

Browse files
committed
better formatting
1 parent c785788 commit b755ba6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libnavui-voice/src/main/java/com/mapbox/navigation/ui/voice/api/MapboxAudioGuidance.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ internal constructor(
212212
@JvmStatic
213213
fun getInstance(): MapboxAudioGuidance = MapboxNavigationApp
214214
.getObservers(MapboxAudioGuidance::class)
215-
.firstOrNull() ?: create()
216-
.also { MapboxNavigationApp.registerObserver(it) }
215+
.firstOrNull() ?: create().also { MapboxNavigationApp.registerObserver(it) }
217216
}
218217
}

0 commit comments

Comments
 (0)