Stabilize iOS/watchOS/tvOS apps and add cross-platform audit remediation
This commit is contained in:
@@ -22,6 +22,7 @@ struct WatchControlView: View {
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .red))
|
||||
.accessibilityLabel("Stop workout")
|
||||
|
||||
Button(action: {
|
||||
vm.restartExercise()
|
||||
@@ -31,6 +32,7 @@ struct WatchControlView: View {
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .yellow))
|
||||
.accessibilityLabel("Restart exercise")
|
||||
|
||||
Button(action: {
|
||||
vm.previousExercise()
|
||||
@@ -40,6 +42,7 @@ struct WatchControlView: View {
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .blue))
|
||||
.accessibilityLabel("Previous exercise")
|
||||
}
|
||||
VStack {
|
||||
Button(action: {
|
||||
@@ -56,6 +59,7 @@ struct WatchControlView: View {
|
||||
}
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .blue))
|
||||
.accessibilityLabel(watchWorkout.isPaused ? "Resume workout" : "Pause workout")
|
||||
|
||||
Button(action: {
|
||||
vm.nextExercise()
|
||||
@@ -65,6 +69,7 @@ struct WatchControlView: View {
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
})
|
||||
.buttonStyle(BorderedButtonStyle(tint: .green))
|
||||
.accessibilityLabel("Next exercise")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user