Fix private display for tournament cell

club_update
Laurent 1 year ago
parent 3b80431498
commit 8dc20c6fba
  1. 4
      PadelClub/Views/Tournament/Shared/TournamentCellView.swift

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

Loading…
Cancel
Save