This commit is contained in:
Max Goedjen
2025-08-10 14:23:57 -07:00
parent bab76da2ab
commit 998f4b9bf4
14 changed files with 99 additions and 81 deletions

View File

@@ -55,7 +55,7 @@ struct StepView: View {
.foregroundColor(.green)
.frame(width: max(0, ((width - (Constants.padding * 2)) / Double(numberOfSteps - 1)) * Double(currentStep) - (Constants.circleWidth / 2)), height: 5)
HStack {
ForEach(0..<numberOfSteps) { index in
ForEach(Array(0..<numberOfSteps), id: \.self) { index in
ZStack {
if currentStep > index {
Circle()