fix: ambiguous range operator in confetti
All checks were successful
Security Checks / dependency-audit (push) Successful in 12s
Security Checks / secret-scanning (push) Successful in 3s
Security Checks / dockerfile-lint (push) Successful in 3s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yusuf Suleman
2026-04-03 10:12:10 -05:00
parent 1dfa05fe4f
commit ff9e6101f8

View File

@@ -216,7 +216,7 @@ struct SuccessConfettiView: View {
color: Self.colors.randomElement()!.opacity(0.7), color: Self.colors.randomElement()!.opacity(0.7),
size: CGFloat.random(in: 4...8), size: CGFloat.random(in: 4...8),
x: CGFloat.random(in: -160...160), x: CGFloat.random(in: -160...160),
startY: CGFloat.random(in: -120...-40), startY: CGFloat.random(in: (-120)...(-40)),
endY: CGFloat.random(in: 500...900), endY: CGFloat.random(in: 500...900),
drift: CGFloat.random(in: -60...60), drift: CGFloat.random(in: -60...60),
delay: Double.random(in: 0.2...0.4), delay: Double.random(in: 0.2...0.4),