misc watch stuff including taps, sounds, maybe working

This commit is contained in:
Trey t
2024-06-21 14:34:23 -05:00
parent 7ce996e451
commit cee84d7776
9 changed files with 61 additions and 36 deletions

View File

@@ -57,6 +57,7 @@ struct ActionsView: View {
.foregroundColor(.white)
} else {
Button(action: {
AudioEngine.shared.playFinished()
nextExercise()
}, label: {
Image(systemName: "arrow.forward")
@@ -68,6 +69,7 @@ struct ActionsView: View {
.foregroundColor(.white)
Button(action: {
AudioEngine.shared.playFinished()
bridgeModule.pauseWorkout()
}, label: {
bridgeModule.isPaused ?
@@ -84,6 +86,7 @@ struct ActionsView: View {
.foregroundColor(.white)
Button(action: {
AudioEngine.shared.playFinished()
completedWorkout?()
}, label: {
Image(systemName: "checkmark")