misc watch stuff including taps, sounds, maybe working
This commit is contained in:
@@ -44,9 +44,15 @@ struct WatchControlView: View {
|
||||
Button(action: {
|
||||
vm.pauseWorkout()
|
||||
}, label: {
|
||||
Image(systemName: "pause")
|
||||
.font(.title)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
if vm.isPaused {
|
||||
Image(systemName: "play")
|
||||
.font(.title)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
} else {
|
||||
Image(systemName: "pause")
|
||||
.font(.title)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
}
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .blue))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user