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
@@ -65,7 +65,7 @@ data class VeranstaltungWizardState(
@OptIn(ExperimentalUuidApi::class)
class EventWizardViewModel(
private val veranstalterIdParam: Long?,
veranstalterIdParam: Long?,
private val httpClient: HttpClient,
private val authTokenManager: AuthTokenManager,
private val vereinRepository: VereinRepository,
@@ -251,7 +251,7 @@ class EventWizardViewModel(
state = state.copy(isSaving = false)
nextStep()
} catch (e: Exception) {
} catch (_: Exception) {
state = state.copy(isSaving = false)
nextStep()
}
@@ -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,7 +160,7 @@ fun VeranstalterCardPreview(
if (!logoBase64.isNullOrBlank()) {
val bitmap = remember(logoBase64) { decodeBase64ToImage(logoBase64) }
if (bitmap != null) {
androidx.compose.foundation.Image(
Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.fillMaxSize().clip(CircleShape),
@@ -281,7 +281,7 @@ fun Step2VeranstalterDetails(viewModel: VeranstalterWizardViewModel) {
val logoData = state.logoBase64
val bitmap = remember(logoData) { logoData?.let { decodeBase64ToImage(it) } }
if (bitmap != null) {
androidx.compose.foundation.Image(
Image(
bitmap = bitmap,
contentDescription = null,
modifier = Modifier.size(80.dp).clip(CircleShape),