This commit is contained in:
Trey t
2023-07-07 14:28:37 -05:00
parent 76e8111777
commit aec8696f62
4 changed files with 31 additions and 2 deletions

View File

@@ -99,3 +99,10 @@ struct ActionsView: View {
bridgeModule.start(workout: workout) bridgeModule.start(workout: workout)
} }
} }
struct ActionsView_Previews: PreviewProvider {
static var previews: some View {
ActionsView(workout: PreviewData.workout(), showAddToCalendar: true)
}
}

View File

@@ -23,3 +23,9 @@ struct CountdownView: View {
} }
} }
} }
struct CountdownView_Previews: PreviewProvider {
static var previews: some View {
CountdownView()
}
}

View File

@@ -56,7 +56,9 @@ struct ExerciseListView: View {
.frame(width: 30, alignment: .trailing) .frame(width: 30, alignment: .trailing)
} }
.padding(5) .padding([.top, .bottom], 5)
.padding([.leading], 10)
.padding([.trailing], 15)
.background(.blue) .background(.blue)
.cornerRadius(5, corners: [.topLeft, .bottomLeft]) .cornerRadius(5, corners: [.topLeft, .bottomLeft])
.frame(alignment: .trailing) .frame(alignment: .trailing)
@@ -72,7 +74,9 @@ struct ExerciseListView: View {
.foregroundColor(.white) .foregroundColor(.white)
.frame(width: 30, alignment: .trailing) .frame(width: 30, alignment: .trailing)
} }
.padding(5) .padding([.top, .bottom], 5)
.padding([.leading], 10)
.padding([.trailing], 15)
.background(.green) .background(.green)
.cornerRadius(5, corners: [.topLeft, .bottomLeft]) .cornerRadius(5, corners: [.topLeft, .bottomLeft])
} }
@@ -102,3 +106,9 @@ struct ExerciseListView: View {
} }
} }
} }
struct ExerciseListView_Previews: PreviewProvider {
static var previews: some View {
ExerciseListView(workout: PreviewData.workout())
}
}

View File

@@ -28,3 +28,9 @@ struct InfoView: View {
} }
} }
} }
struct InfoView_Previews: PreviewProvider {
static var previews: some View {
InfoView(workout: PreviewData.workout())
}
}