- Schadensliste wurde implementiert

This commit is contained in:
2026-01-26 13:54:14 +01:00
parent 05426b687c
commit fbf677c23a
8 changed files with 604 additions and 4 deletions

View File

@@ -133,6 +133,8 @@ fun ContentScreen(
// NEU: State für Filter-Dialog
var showFilterDialog by remember { mutableStateOf(false) }
var showDamageList by remember { mutableStateOf(false) }
Box(modifier = modifier.fillMaxSize()) {
// Map
MapSegment(
@@ -140,6 +142,18 @@ fun ContentScreen(
mapViewModel = mapViewModel
)
// Dialog
if (showDamageList) {
DamageListDialog(
onDismiss = { showDamageList = false },
onDamageClick = { feature ->
mapViewModel.selectedFeature = feature
mapViewModel.showFeatureInfo = true
},
mapViewModel = mapViewModel
)
}
// Report Overlay
if (showReport) {
ReportOverlay(
@@ -196,7 +210,7 @@ fun ContentScreen(
SliderMenuItem(
text = "Schadensliste",
icon = Icons.Default.FormatListNumbered,
onClick = { /* TODO */ }
onClick = { showDamageList = true }
)
}
}