move this here

This commit is contained in:
Minecon724 2024-08-05 11:30:54 +02:00
parent 12273bdd17
commit 9574ed496d
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -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,
@ -93,9 +101,6 @@ class DashboardActivity : ComponentActivity() {
} }
} }
} }
}
}
}
} }
@Composable @Composable