From 99b996550edf9ad1fedad73a1ed20db29827dd65 Mon Sep 17 00:00:00 2001 From: David Huh <38101884+qt1337@users.noreply.github.com> Date: Sun, 7 Feb 2021 14:57:56 +0100 Subject: [PATCH] :sparkles: Changed course to uppercase --- DHBW-Service/Views/Other/FirstOpeningSettings.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/DHBW-Service/Views/Other/FirstOpeningSettings.swift b/DHBW-Service/Views/Other/FirstOpeningSettings.swift index 620a417..2ad4ed4 100644 --- a/DHBW-Service/Views/Other/FirstOpeningSettings.swift +++ b/DHBW-Service/Views/Other/FirstOpeningSettings.swift @@ -32,6 +32,7 @@ struct FirstOpeningSettings: View { .overlay(RoundedRectangle(cornerRadius: 10).stroke(invalidInputCourse ? Color.red : Color.secondary, lineWidth: 1)) .onChange(of: course, perform: { value in self.setDirector() + self.course = self.course.uppercased() }) .foregroundColor(invalidInputCourse ? .red : .primary) .textContentType(.name)