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()
|
||||
setContent {
|
||||
VastappTheme {
|
||||
DashboardApp(dashboardViewModel = dashboardViewModel)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun DashboardApp(dashboardViewModel: DashboardViewModel) {
|
||||
val items = listOf(
|
||||
Screen.Dashboard,
|
||||
Screen.Instances,
|
||||
|
@ -94,9 +102,6 @@ class DashboardActivity : ComponentActivity() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun MyNavigationBar(items: List<Screen>, navController: NavHostController) {
|
||||
|
|
Loading…
Reference in a new issue