From 3cd8f1f7200109d505b5e105d5ebe53f0c93d337 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sat, 5 Jul 2025 23:40:26 +0200 Subject: Improve defaults and style for stages --- Map/Business/CustomStage.swift | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Map/Business') diff --git a/Map/Business/CustomStage.swift b/Map/Business/CustomStage.swift index 32d4c2c..388531b 100644 --- a/Map/Business/CustomStage.swift +++ b/Map/Business/CustomStage.swift @@ -24,4 +24,28 @@ struct CustomStage: Identifiable, Codable { self.name = name self.stage = stage } + + static func cynefinDefault() -> CustomStage { + return CustomStage( + name: String(localized: "stage_type.cynefin"), + stage: Stage( + i: String(localized: "stage_type.cynefin.i"), + ii: String(localized: "stage_type.cynefin.ii"), + iii: String(localized: "stage_type.cynefin.iii"), + iv: String(localized: "stage_type.cynefin.iv") + ) + ) + } + + static func placeholderDefault() -> CustomStage { + return CustomStage( + name: String(localized: "stage_type.placeholder"), + stage: Stage( + i: String(localized: "stage_type.placeholder.i"), + ii: String(localized: "stage_type.placeholder.ii"), + iii: String(localized: "stage_type.placeholder.iii"), + iv: String(localized: "stage_type.placeholder.iv") + ) + ) + } } \ No newline at end of file -- cgit