Skip to content

Commit

Permalink
fix: buildNavigationDI is now composable
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Feb 18, 2024
1 parent ed39da3 commit 0a794f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public fun NavigationScreen(
)
}

@Composable
public fun buildNavigationDI(di: DI): DI = di + di {
val navController by provider { LocalNavController.current }
}

0 comments on commit 0a794f1

Please sign in to comment.