add SimpleStopWatch to ActiveWorkoutSession
This commit is contained in:
@@ -31,11 +31,11 @@ struct ActiveWorkoutSessionControls: View {
|
||||
}
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
.bold()
|
||||
.fontWeight(.bold)
|
||||
.tint(.primary)
|
||||
Button(action: {
|
||||
// TODO: Implement proper Pausing
|
||||
session.pause()
|
||||
session.isPaused = true
|
||||
}) {
|
||||
HStack {
|
||||
Image(systemName: "pause.fill")
|
||||
@@ -43,7 +43,7 @@ struct ActiveWorkoutSessionControls: View {
|
||||
}
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
.bold()
|
||||
.fontWeight(.bold)
|
||||
.tint(.gray)
|
||||
.disabled(true)
|
||||
Button(action: {
|
||||
@@ -55,7 +55,7 @@ struct ActiveWorkoutSessionControls: View {
|
||||
}
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
.bold()
|
||||
.fontWeight(.bold)
|
||||
.tint(.primary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user