Skip to content

Commit

Permalink
Merge pull request #1231 from patrykmichalik/navigation-material-docu…
Browse files Browse the repository at this point in the history
…mentation-update

[Navigation Material] Remove usages of undefined `Destinations.Home` string from code samples in documentation
  • Loading branch information
ianhanniballake committed Jul 13, 2022
2 parents dc1042e + e3c3a92 commit 24d38c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/navigation-material.md
Expand Up @@ -31,7 +31,7 @@ This features composable bottom sheet destinations.
val bottomSheetNavigator = rememberBottomSheetNavigator()
val navController = rememberNavController(bottomSheetNavigator)
ModalBottomSheetLayout(bottomSheetNavigator) {
NavHost(navController, Destinations.Home) {
NavHost(navController, "home") {
// We'll define our graph here in a bit!
}
}
Expand All @@ -46,7 +46,7 @@ This features composable bottom sheet destinations.
val bottomSheetNavigator = rememberBottomSheetNavigator()
val navController = rememberNavController(bottomSheetNavigator)
ModalBottomSheetLayout(bottomSheetNavigator) {
NavHost(navController, Destinations.Home) {
NavHost(navController, "home") {
composable(route = "home") {
...
}
Expand Down

0 comments on commit 24d38c7

Please sign in to comment.