|
|
|
@ -85,6 +85,7 @@ struct PlayerBlockView: View { |
|
|
|
.opacity(0) |
|
|
|
.opacity(0) |
|
|
|
|
|
|
|
|
|
|
|
if let team { |
|
|
|
if let team { |
|
|
|
|
|
|
|
VStack(alignment: .leading) { |
|
|
|
if let teamScore, teamScore.luckyLoser != nil, match.isLoserBracket == false { |
|
|
|
if let teamScore, teamScore.luckyLoser != nil, match.isLoserBracket == false { |
|
|
|
Text("Repêchée").italic().font(.caption) |
|
|
|
Text("Repêchée").italic().font(.caption) |
|
|
|
} |
|
|
|
} |
|
|
|
@ -98,7 +99,6 @@ struct PlayerBlockView: View { |
|
|
|
Text("Place réservée") |
|
|
|
Text("Place réservée") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
VStack(alignment: .leading) { |
|
|
|
|
|
|
|
ForEach(team.players()) { player in |
|
|
|
ForEach(team.players()) { player in |
|
|
|
Text(player.playerLabel()).lineLimit(1) |
|
|
|
Text(player.playerLabel()).lineLimit(1) |
|
|
|
.italic(player.isHere() == false) |
|
|
|
.italic(player.isHere() == false) |
|
|
|
|