create ER diagram, refactor to conform to diagram, simplify session management

This commit is contained in:
Felix Förtsch
2024-10-17 14:41:14 +02:00
parent b7f5caf9dd
commit 97ecbcc6f4
23 changed files with 394 additions and 226 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ struct SetListItem: View {
var body: some View {
HStack {
HStack {
Text(String(set.reps))
Text(String(set.plannedReps))
.font(.system(size: 14, weight: .bold))
.foregroundStyle(.white)
.frame(width: 20, height: 10)
@@ -27,7 +27,7 @@ struct SetListItem: View {
.fontWeight(.bold)
Spacer()
Stepper(
value: $set.reps,
value: $set.plannedReps,
in: 0...100,
step: 1
) {}