diff --git a/PadelClub/Views/Tournament/TournamentBuildView.swift b/PadelClub/Views/Tournament/TournamentBuildView.swift index fcb5b0e..50dbfca 100644 --- a/PadelClub/Views/Tournament/TournamentBuildView.swift +++ b/PadelClub/Views/Tournament/TournamentBuildView.swift @@ -113,24 +113,6 @@ struct TournamentBuildView: View { Section { - #if DEBUG - NavigationLink(value: Screen.rankings) { - LabeledContent { - if tournament.publishRankings == false { - Image(systemName: "exclamationmark.circle.fill") - .foregroundStyle(.logoYellow) - } else { - Image(systemName: "checkmark") - .foregroundStyle(.green) - } - } label: { - Text("Classement final des équipes") - if tournament.publishRankings == false { - Text("Vérifiez le classement avant de publier").foregroundStyle(.logoRed) - } - } - } - #else if tournament.hasEnded() { NavigationLink(value: Screen.rankings) { LabeledContent { @@ -149,7 +131,6 @@ struct TournamentBuildView: View { } } } - #endif if state == .running || state == .finished { TournamentInscriptionView(tournament: tournament) TournamentBroadcastRowView(tournament: tournament)