feat: erweitere DemoEventFlow und EventWizardViewModel um neue Schritte

Signed-off-by: StefanMoCoAt <stefan.mo.co@gmail.com>
This commit is contained in:
2026-04-21 18:16:52 +02:00
parent 2d7046d0e3
commit 3b4e3db51d
2 changed files with 19 additions and 2 deletions
@@ -246,13 +246,18 @@ class EventWizardViewModel(
}
private fun isHandledByRuntime(step: WizardStep): Boolean = when (step) {
WizardStep.ZNS_CHECK, WizardStep.VERANSTALTER_SELECTION -> true
WizardStep.ZNS_CHECK,
WizardStep.VERANSTALTER_SELECTION,
WizardStep.ANSPRECHPERSON_MAPPING,
WizardStep.META_DATA -> true
else -> false
}
private fun mapToWizardStep(step: DemoEventStep): WizardStep? = when (step) {
DemoEventStep.ZnsCheck -> WizardStep.ZNS_CHECK
DemoEventStep.VeranstalterSelection -> WizardStep.VERANSTALTER_SELECTION
DemoEventStep.AnsprechpersonMapping -> WizardStep.ANSPRECHPERSON_MAPPING
DemoEventStep.MetaData -> WizardStep.META_DATA
}
fun setVeranstalter(id: Uuid, nummer: String, name: String, standardOrt: String, logo: String?) {