Updated duration pickers in Recipe Edit View

This commit is contained in:
Vicnet
2023-10-17 16:14:13 +02:00
parent 40e3047086
commit a025923ba6
4 changed files with 568 additions and 92 deletions

View File

@@ -32,18 +32,20 @@ fileprivate enum SettingsAlert {
enum SupportedLanguage: String, Codable {
case EN = "en",
DE = "de"
DE = "de",
ES = "es"
func descriptor() -> String {
switch self {
case .EN:
return "English"
case .DE:
return "Deutsch"
case .ES:
return "Español"
}
}
static let allValues = [EN, DE]
static let allValues = [EN, DE, ES]
}
struct SettingsView: View {