|
|
|
|
@ -77,7 +77,7 @@ struct PlayerBlockView: View { |
|
|
|
|
VStack(alignment: .leading) { |
|
|
|
|
ZStack(alignment: .leading) { |
|
|
|
|
VStack { |
|
|
|
|
if let teamName = team?.name { |
|
|
|
|
if let teamName = team?.name, teamName.isEmpty == false { |
|
|
|
|
Text(teamName).foregroundStyle(.secondary).font(.footnote) |
|
|
|
|
} |
|
|
|
|
Text("longLabelPlayerOne").lineLimit(1) |
|
|
|
|
@ -91,7 +91,7 @@ struct PlayerBlockView: View { |
|
|
|
|
Text("Repêchée").italic().font(.caption) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if let teamName = team.name { |
|
|
|
|
if let teamName = team.name, teamName.isEmpty == false { |
|
|
|
|
Text(teamName).foregroundStyle(.secondary).font(.footnote) |
|
|
|
|
} else if team.players().isEmpty { |
|
|
|
|
if team.isWildCard() { |
|
|
|
|
|