Skip to content

Commit

Permalink
coroutineScope fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anandwana001 committed Dec 2, 2024
1 parent 3fa12e8 commit d3db318
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ constructor(
}

private fun requestNavigation(request: NavigationRequest) {
CoroutineScope(dispatcher).launch { _navigateRequests.emit(request) }
coroutineScope.launch(dispatcher) { _navigateRequests.emit(request) }
}
}

0 comments on commit d3db318

Please sign in to comment.