fix: resolve compiler warnings across codebase

- PaywallView: remove unnecessary nil coalescing for currencyCode
- GameDAGRouter: change var to let for immutable compositeKeys
- GamesHistoryRow/View: add missing wnba and nwsl switch cases
- VisitDetailView: fix unused variable in preview
- AchievementEngine: use convenience init to avoid default parameter warning
- ProgressCardGenerator: use method overload instead of default parameter
- StadiumProximityMatcher: extract constants to ProximityConstants enum

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-13 13:16:40 -06:00
parent 22772fa57f
commit 04b62f147e
8 changed files with 33 additions and 15 deletions

View File

@@ -324,7 +324,7 @@ enum GameDAGRouter {
}
// Round-robin from composite buckets
var compositeKeys = Array(byComposite.keys).sorted()
let compositeKeys = Array(byComposite.keys).sorted()
var indices: [String: Int] = [:]
while selected.count < maxCount && !compositeKeys.isEmpty {
var addedAny = false