chore: vereinheitliche Imports und ersetze androidx.compose.foundation.Image durch Image im Veranstalter-Wizard
Desktop CI — Headless Tests & Build / Compose Desktop — Tests (headless) & Build (push) Has been cancelled
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Has been cancelled
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Has been cancelled
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Has been cancelled
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Has been cancelled

Signed-off-by: StefanMoCoAt <stefan.mo.co@gmail.com>
This commit is contained in:
2026-04-21 15:17:59 +02:00
parent 7cfdd06d1e
commit 0ab1807235
2 changed files with 15 additions and 15 deletions
@@ -88,7 +88,7 @@ fun VeranstalterAnlegenWizard(
selectedVereinId = state.editId ?: 0L,
onVereinSelected = { id ->
// Mock: Wir laden die Daten des Vereins aus dem Store in das VM
at.mocode.frontend.shell.desktop.data.Store.vereine.find { it.id == id }?.let { v ->
Store.vereine.find { it.id == id }?.let { v ->
viewModel.send(VeranstalterWizardIntent.UpdateName(v.name))
viewModel.send(VeranstalterWizardIntent.UpdateOeps(v.oepsNummer))
viewModel.send(VeranstalterWizardIntent.UpdateOrt(v.ort ?: ""))
@@ -160,12 +160,12 @@ fun VeranstalterCardPreview(
if (!logoBase64.isNullOrBlank()) {
val bitmap = remember(logoBase64) { decodeBase64ToImage(logoBase64) }
if (bitmap != null) {
androidx.compose.foundation.Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.fillMaxSize().clip(CircleShape),
contentScale = ContentScale.Crop
)
Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.fillMaxSize().clip(CircleShape),
contentScale = ContentScale.Crop
)
} else {
Icon(Icons.Default.Image, null, modifier = Modifier.size(40.dp), tint = MaterialTheme.colorScheme.error)
}
@@ -281,12 +281,12 @@ fun Step2VeranstalterDetails(viewModel: VeranstalterWizardViewModel) {
val logoData = state.logoBase64
val bitmap = remember(logoData) { logoData?.let { decodeBase64ToImage(it) } }
if (bitmap != null) {
androidx.compose.foundation.Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.size(80.dp).clip(CircleShape),
contentScale = ContentScale.Crop
)
Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.size(80.dp).clip(CircleShape),
contentScale = ContentScale.Crop
)
}
} else {
Icon(Icons.Default.Image, null, modifier = Modifier.size(40.dp), tint = Color.Gray)