From 52ebfc1a6b13d88cbfe335875835de37f5a109a2 Mon Sep 17 00:00:00 2001 From: rzen Date: Sat, 25 Apr 2026 15:26:25 -0400 Subject: [PATCH] Use colon score format and placeholder for upcoming game rows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Game rows now render scores as "2 : 3" (with spaces) in secondary color so they read as data, not as part of the team-name run. Pre-game rows show "- : -" in the same slot so tricode columns line up regardless of whether the game has started — only two-digit scores push the layout, which doesn't happen in NHL play. --- IceGlass-iOS/Views/GameRow.swift | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/IceGlass-iOS/Views/GameRow.swift b/IceGlass-iOS/Views/GameRow.swift index 9e18e26..f1442e9 100644 --- a/IceGlass-iOS/Views/GameRow.swift +++ b/IceGlass-iOS/Views/GameRow.swift @@ -47,19 +47,13 @@ struct GameRow: View { .lineLimit(1) .fixedSize() - if showScore { - Text(scoreText) - .font(.title3.monospacedDigit()) - .fontWeight(.bold) - .foregroundStyle(.primary) - .lineLimit(1) - .fixedSize() - .padding(.horizontal, 2) - } else { - Text("@") - .font(.title3) - .foregroundStyle(.tertiary) - } + Text(showScore ? scoreText : "- : -") + .font(.title3.monospacedDigit()) + .fontWeight(.bold) + .foregroundStyle(.secondary) + .lineLimit(1) + .fixedSize() + .padding(.horizontal, 2) Text(game.homeTeam.abbrev) .font(.title3.monospaced()) @@ -108,7 +102,7 @@ struct GameRow: View { private var scoreText: String { let a = game.awayTeam.score ?? 0 let h = game.homeTeam.score ?? 0 - return "\(a)–\(h)" + return "\(a) : \(h)" } private func open() {