create ER diagram, refactor to conform to diagram, simplify session management
This commit is contained in:
@@ -22,12 +22,12 @@ struct Settings: View {
|
||||
Section(
|
||||
header: Text("User"),
|
||||
footer: Text("Trainer Mode enables you to add and manage trainees.")) {
|
||||
Text(userId)
|
||||
TextField("name", text: $userId)
|
||||
Toggle(isOn: $isTrainerMode) {
|
||||
Text("Trainer Mode")
|
||||
Text(userId)
|
||||
TextField("name", text: $userId)
|
||||
Toggle(isOn: $isTrainerMode) {
|
||||
Text("Trainer Mode")
|
||||
}
|
||||
}
|
||||
}
|
||||
Section(header: Text("Defaults")) {
|
||||
StepperListItem(itemName: "Rep Count", itemValue: $reps)
|
||||
}
|
||||
@@ -41,6 +41,18 @@ struct Settings: View {
|
||||
}
|
||||
Button("Reset App", role: .destructive, action: resetApp)
|
||||
}
|
||||
|
||||
Section {
|
||||
NavigationLink("Credits") {
|
||||
Text(
|
||||
"""
|
||||
# Software Components
|
||||
## Duration Picker
|
||||
https://github.com/mac-gallagher/DurationPicker
|
||||
"""
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
.navigationTitle("Settings")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user