From 393bb8d6f859de548c60070cb2a5f009717f91c6 Mon Sep 17 00:00:00 2001 From: Trey t Date: Mon, 12 Jan 2026 20:29:10 -0600 Subject: [PATCH] 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 --- .../Trip/Views/TripCreationView.swift | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/SportsTime/Features/Trip/Views/TripCreationView.swift b/SportsTime/Features/Trip/Views/TripCreationView.swift index 7f2c5ea..60fc177 100644 --- a/SportsTime/Features/Trip/Views/TripCreationView.swift +++ b/SportsTime/Features/Trip/Views/TripCreationView.swift @@ -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()