Skip to content

Commit

Permalink
Include AppScaffold in navigation Snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
kul3r4 committed Oct 28, 2024
1 parent a5c2337 commit eaa0478
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ import com.google.android.horologist.compose.rotaryinput.rotaryWithScroll

@Composable
fun navigation() {
// [START android_wear_navigation]
AppScaffold {
// [START android_wear_navigation]
val navController = rememberSwipeDismissableNavController()
SwipeDismissableNavHost(
navController = navController,
Expand All @@ -63,8 +63,8 @@ fun navigation() {
MessageDetail(id = it.arguments?.getString("id")!!)
}
}
// [END android_wear_navigation]
}
// [END android_wear_navigation]
}

@OptIn(ExperimentalHorologistApi::class)
Expand Down

0 comments on commit eaa0478

Please sign in to comment.