Skip to content

Commit

Permalink
Remove usages of undefined Destinations.Home string from code sampl…
Browse files Browse the repository at this point in the history
…es in Navigation Material documentation
  • Loading branch information
Patryk Michalik committed Jul 7, 2022
1 parent 47e2bdb commit e3c3a92
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 e3c3a92

Please sign in to comment.