feat: enhance game picker row with location and broadcast info
Add city/state location and broadcast channel to GameCalendarRow in the "By Games" trip building flow. Users now see: - Clock icon with game time - Building icon with stadium name - Location pin with city, state - TV icon with broadcast channel (when available) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1342,18 +1342,33 @@ struct GameCalendarRow: View {
|
||||
.foregroundStyle(Theme.textPrimary(colorScheme))
|
||||
|
||||
HStack(spacing: Theme.Spacing.xs) {
|
||||
Text(game.game.gameTime)
|
||||
Label(game.game.gameTime, systemImage: "clock")
|
||||
.font(.caption)
|
||||
.foregroundStyle(Theme.textSecondary(colorScheme))
|
||||
|
||||
Text("•")
|
||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||
|
||||
Text(game.stadium.name)
|
||||
Label(game.stadium.name, systemImage: "building.2")
|
||||
.font(.caption)
|
||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||
.lineLimit(1)
|
||||
}
|
||||
|
||||
HStack(spacing: Theme.Spacing.xs) {
|
||||
Label(game.stadium.fullAddress, systemImage: "mappin.circle.fill")
|
||||
.font(.caption)
|
||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||
|
||||
if let broadcast = game.game.broadcastInfo, !broadcast.isEmpty {
|
||||
Text("•")
|
||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||
|
||||
Label(broadcast, systemImage: "tv")
|
||||
.font(.caption)
|
||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
Reference in New Issue
Block a user