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))
|
.foregroundStyle(Theme.textPrimary(colorScheme))
|
||||||
|
|
||||||
HStack(spacing: Theme.Spacing.xs) {
|
HStack(spacing: Theme.Spacing.xs) {
|
||||||
Text(game.game.gameTime)
|
Label(game.game.gameTime, systemImage: "clock")
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
.foregroundStyle(Theme.textSecondary(colorScheme))
|
.foregroundStyle(Theme.textSecondary(colorScheme))
|
||||||
|
|
||||||
Text("•")
|
Text("•")
|
||||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||||
|
|
||||||
Text(game.stadium.name)
|
Label(game.stadium.name, systemImage: "building.2")
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
.foregroundStyle(Theme.textMuted(colorScheme))
|
.foregroundStyle(Theme.textMuted(colorScheme))
|
||||||
.lineLimit(1)
|
.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()
|
Spacer()
|
||||||
|
|||||||
Reference in New Issue
Block a user