rate workout and order of buttons
This commit is contained in:
@@ -58,14 +58,14 @@ struct ActionsView: View {
|
||||
} else {
|
||||
Button(action: {
|
||||
AudioEngine.shared.playFinished()
|
||||
nextExercise()
|
||||
completedWorkout?()
|
||||
}, label: {
|
||||
Image(systemName: "arrow.forward")
|
||||
Image(systemName: "checkmark")
|
||||
.font(.title)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.background(.green)
|
||||
.background(.blue)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Button(action: {
|
||||
@@ -87,14 +87,14 @@ struct ActionsView: View {
|
||||
|
||||
Button(action: {
|
||||
AudioEngine.shared.playFinished()
|
||||
completedWorkout?()
|
||||
nextExercise()
|
||||
}, label: {
|
||||
Image(systemName: "checkmark")
|
||||
Image(systemName: "arrow.forward")
|
||||
.font(.title)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.background(.blue)
|
||||
.background(.green)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user