WIP
This commit is contained in:
@@ -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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -23,3 +23,9 @@ struct CountdownView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct CountdownView_Previews: PreviewProvider {
|
||||||
|
static var previews: some View {
|
||||||
|
CountdownView()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -28,3 +28,9 @@ struct InfoView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct InfoView_Previews: PreviewProvider {
|
||||||
|
static var previews: some View {
|
||||||
|
InfoView(workout: PreviewData.workout())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user