Skip to content

Commit

Permalink
Fixes #630
Browse files Browse the repository at this point in the history
  • Loading branch information
raamcosta committed May 5, 2024
1 parent 66b866a commit d28258d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ internal fun RawNavGraphGenParams.makeGraphTree(
val destinations = destinationsByNavGraphParams[this].orEmpty()
val nestedNavGraphs = navGraphsByParentType[annotationType].orEmpty()

if (destinations.isEmpty() && nestedNavGraphs.isEmpty()) {
if (destinations.isEmpty() && nestedNavGraphs.isEmpty() && externalRoutes.isEmpty()) {
return null
}

Expand Down

0 comments on commit d28258d

Please sign in to comment.