WIP
This commit is contained in:
@@ -354,9 +354,11 @@ struct CountdownView: View {
|
|||||||
if let duration = bridgeModule.currentExercise?.duration,
|
if let duration = bridgeModule.currentExercise?.duration,
|
||||||
duration > 0 {
|
duration > 0 {
|
||||||
HStack {
|
HStack {
|
||||||
ProgressView(value: Float(bridgeModule.currentExerciseTimeLeft), total: Float(duration))
|
if bridgeModule.currentExerciseTimeLeft >= 0 && duration > bridgeModule.currentExerciseTimeLeft {
|
||||||
Text("\(bridgeModule.currentExerciseTimeLeft)")
|
ProgressView(value: Float(bridgeModule.currentExerciseTimeLeft), total: Float(duration))
|
||||||
.font(.body)
|
Text("\(bridgeModule.currentExerciseTimeLeft)")
|
||||||
|
.font(.body)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user