|
|
|
@ -67,10 +67,14 @@ struct TournamentCellView: View { |
|
|
|
.font(.caption) |
|
|
|
.font(.caption) |
|
|
|
Spacer() |
|
|
|
Spacer() |
|
|
|
if tournament.isPrivate { |
|
|
|
if tournament.isPrivate { |
|
|
|
|
|
|
|
if displayStyle == .short { |
|
|
|
|
|
|
|
Text("privé") |
|
|
|
|
|
|
|
} else { |
|
|
|
Text("privé") |
|
|
|
Text("privé") |
|
|
|
.capsule(foreground: .black, background: .beige) |
|
|
|
.capsule(foreground: .black, background: .beige) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Text(tournament.clubLabel()).lineLimit(1) |
|
|
|
Text(tournament.clubLabel()).lineLimit(1) |
|
|
|
.font(.caption) |
|
|
|
.font(.caption) |
|
|
|
|