Skip to content

Instantly share code, notes, and snippets.

@sergei-mikhailovskii-idf
Created October 9, 2022 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergei-mikhailovskii-idf/6d1f34a2553faa6c1ae4c79d250921f5 to your computer and use it in GitHub Desktop.
Save sergei-mikhailovskii-idf/6d1f34a2553faa6c1ae4c79d250921f5 to your computer and use it in GitHub Desktop.
fun FitnestApp() {
val navController = rememberAnimatedNavController(AnimatedComposeNavigator())
FitnestTheme {
Scaffold(
bottomBar = { BottomBar(navController) },
topBar = { TopBar(navController) },
) {
AnimatedNavHost(
navController = navController,
startDestination = Route.Splash.screenName
) {
composable(route = Route.Splash.screenName) {
SplashScreen(navController = navController)
}
...
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment