Skip to content

Instantly share code, notes, and snippets.

@walnashgit
Created May 8, 2021 06:25
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 walnashgit/8163f2e2227e07330fab3842c5c7bdce to your computer and use it in GitHub Desktop.
Save walnashgit/8163f2e2227e07330fab3842c5c7bdce to your computer and use it in GitHub Desktop.
@Composable
fun Home(modifier: Modifier = Modifier, viewModel: MainViewModel) {
viewModel.setCurrentScreen(Screens.DrawerScreens.Home)
Column(
modifier = modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
) {
Text(text = "Home.", style = MaterialTheme.typography.h4)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment