diff --git a/ground/src/main/java/com/google/android/ground/ui/common/Navigator.kt b/ground/src/main/java/com/google/android/ground/ui/common/Navigator.kt index 87375956ba..876f2d655a 100644 --- a/ground/src/main/java/com/google/android/ground/ui/common/Navigator.kt +++ b/ground/src/main/java/com/google/android/ground/ui/common/Navigator.kt @@ -61,6 +61,6 @@ constructor( } private fun requestNavigation(request: NavigationRequest) { - CoroutineScope(dispatcher).launch { _navigateRequests.emit(request) } + coroutineScope.launch(dispatcher) { _navigateRequests.emit(request) } } }