|
|
|
@ -29,8 +29,8 @@ class MatchDescriptor: ObservableObject { |
|
|
|
} |
|
|
|
} |
|
|
|
let teamOne = match?.team(.one) |
|
|
|
let teamOne = match?.team(.one) |
|
|
|
let teamTwo = match?.team(.two) |
|
|
|
let teamTwo = match?.team(.two) |
|
|
|
self.teamLabelOne = teamOne?.teamLabel(.short) ?? "" |
|
|
|
self.teamLabelOne = teamOne?.teamLabel(.wide, twoLines: true) ?? "" |
|
|
|
self.teamLabelTwo = teamTwo?.teamLabel(.short) ?? "" |
|
|
|
self.teamLabelTwo = teamTwo?.teamLabel(.wide, twoLines: true) ?? "" |
|
|
|
|
|
|
|
|
|
|
|
if let match, let scoresTeamOne = match.teamScore(ofTeam: teamOne)?.score, let scoresTeamTwo = match.teamScore(ofTeam: teamTwo)?.score { |
|
|
|
if let match, let scoresTeamOne = match.teamScore(ofTeam: teamOne)?.score, let scoresTeamTwo = match.teamScore(ofTeam: teamTwo)?.score { |
|
|
|
|
|
|
|
|
|
|
|
|