mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-10-14 06:55:33 +00:00
✨ Fixing small issue, adding Settings, adding Acknowledgements, adding logout functionality
This commit is contained in:
1 parent
6c3e0f498a
commit
52dbfa60ea
7 files changed
+120
-2
No files matched your search
@@ -19,8 +19,9 @@ struct FirstOpeningSettings: View {
|
||||
var body: some View {
|
||||
VStack {
|
||||
Text("welcomeText".localized(tableName: "General", plural: false))
|
||||
|
||||
TextField("name".localized(tableName: "General", plural: false), text: self.$name)
|
||||
.overlay(RoundedRectangle(cornerRadius: 10).stroke(invalidInputCourse ? Color.red : Color.secondary, lineWidth: 1))
|
||||
.overlay(RoundedRectangle(cornerRadius: 10).stroke(invalidInputName ? Color.red : Color.secondary, lineWidth: 1))
|
||||
.foregroundColor(invalidInputName ? .red : .primary)
|
||||
.textContentType(.name)
|
||||
.textFieldStyle(RoundedBorderTextFieldStyle())
|
||||
@@ -56,6 +57,7 @@ struct FirstOpeningSettings: View {
|
||||
.background(Color.blue)
|
||||
.cornerRadius(15)
|
||||
}
|
||||
//.disabled() //TODO: Check all inputs before enabling the button
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user