|
|
|
@ -63,7 +63,7 @@ struct TournamentCellView: View { |
|
|
|
VStack(alignment: .leading, spacing: 0.0) { |
|
|
|
VStack(alignment: .leading, spacing: 0.0) { |
|
|
|
if let tournament = tournament as? Tournament { |
|
|
|
if let tournament = tournament as? Tournament { |
|
|
|
HStack { |
|
|
|
HStack { |
|
|
|
Text(tournament.locationLabel(displayStyle)) |
|
|
|
Text(tournament.locationLabel(displayStyle)).lineLimit(1) |
|
|
|
.font(.caption) |
|
|
|
.font(.caption) |
|
|
|
Spacer() |
|
|
|
Spacer() |
|
|
|
if tournament.isPrivate { |
|
|
|
if tournament.isPrivate { |
|
|
|
@ -71,7 +71,7 @@ struct TournamentCellView: View { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Text(tournament.clubLabel()) |
|
|
|
Text(tournament.clubLabel()).lineLimit(1) |
|
|
|
.font(.caption) |
|
|
|
.font(.caption) |
|
|
|
} |
|
|
|
} |
|
|
|
HStack(alignment: .bottom) { |
|
|
|
HStack(alignment: .bottom) { |
|
|
|
@ -115,7 +115,7 @@ struct TournamentCellView: View { |
|
|
|
Text(word + teamCount.pluralSuffix) |
|
|
|
Text(word + teamCount.pluralSuffix) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
Text(tournament.subtitleLabel()) |
|
|
|
Text(tournament.subtitleLabel()).lineLimit(1) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Text(build.category.localizedLabel()) |
|
|
|
Text(build.category.localizedLabel()) |
|
|
|
Text(build.age.localizedLabel()) |
|
|
|
Text(build.age.localizedLabel()) |
|
|
|
|