chore: remove college basketball (CBB) from iOS app

Remove CBB (~5,000+ games per season) to reduce complexity.

Changes:
- Remove .cbb enum case from Sport
- Remove CBB theme color (cbbMint)
- Update documentation to reflect 7 supported leagues

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-11 01:44:35 -06:00
parent 171221af0e
commit c9e5bd9909
5 changed files with 5 additions and 27 deletions

View File

@@ -14,7 +14,6 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
case mls = "MLS"
case wnba = "WNBA"
case nwsl = "NWSL"
case cbb = "CBB"
var id: String { rawValue }
@@ -27,7 +26,6 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
case .mls: return "Major League Soccer"
case .wnba: return "Women's National Basketball Association"
case .nwsl: return "National Women's Soccer League"
case .cbb: return "College Basketball"
}
}
@@ -40,7 +38,6 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
case .mls: return "soccerball"
case .wnba: return "basketball.fill"
case .nwsl: return "soccerball"
case .cbb: return "basketball.fill"
}
}
@@ -53,7 +50,6 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
case .mls: return .green
case .wnba: return .purple
case .nwsl: return .teal
case .cbb: return .mint
}
}
@@ -67,7 +63,6 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
case .mls: return (2, 12) // February - December
case .wnba: return (5, 10) // May - October
case .nwsl: return (3, 11) // March - November
case .cbb: return (11, 4) // November - April (wraps, March Madness)
}
}
@@ -87,7 +82,7 @@ enum Sport: String, Codable, CaseIterable, Identifiable {
/// Currently supported sports
static var supported: [Sport] {
[.mlb, .nba, .nfl, .nhl, .mls, .wnba, .nwsl, .cbb]
[.mlb, .nba, .nfl, .nhl, .mls, .wnba, .nwsl]
}
}