move this here
This commit is contained in:
parent
12273bdd17
commit
9574ed496d
1 changed files with 27 additions and 22 deletions
|
@ -69,6 +69,14 @@ class DashboardActivity : ComponentActivity() {
|
||||||
enableEdgeToEdge()
|
enableEdgeToEdge()
|
||||||
setContent {
|
setContent {
|
||||||
VastappTheme {
|
VastappTheme {
|
||||||
|
DashboardApp(dashboardViewModel = dashboardViewModel)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Composable
|
||||||
|
fun DashboardApp(dashboardViewModel: DashboardViewModel) {
|
||||||
val items = listOf(
|
val items = listOf(
|
||||||
Screen.Dashboard,
|
Screen.Dashboard,
|
||||||
Screen.Instances,
|
Screen.Instances,
|
||||||
|
@ -94,9 +102,6 @@ class DashboardActivity : ComponentActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun MyNavigationBar(items: List<Screen>, navController: NavHostController) {
|
fun MyNavigationBar(items: List<Screen>, navController: NavHostController) {
|
||||||
|
|
Loading…
Reference in a new issue