Merge branch 'main'

sync3
Razmig Sarkissian 1 month ago
commit 154137d25f
  1. 2
      PadelClub/Views/Planning/SchedulerView.swift
  2. 2
      PadelClub/Views/Tournament/TournamentView.swift

@ -172,7 +172,7 @@ struct SchedulerView: View {
Text("Match de classement \(round.roundTitle(.short))") Text("Match de classement \(round.roundTitle(.short))")
} footer: { } footer: {
if tournament.isAnimation() == false, round.index == 1, let semi = round.loserRounds().first { if tournament.isAnimation() == false, round.index == 1, let semi = round.loserRounds().first {
let federalFormat = tournament.loserBracketSmartMatchFormat(1) let federalFormat = tournament.loserBracketSmartMatchFormat()
if semi.matchFormat.weight > federalFormat.weight { if semi.matchFormat.weight > federalFormat.weight {
Button { Button {
round.updateMatchFormatAndAllMatches(federalFormat) round.updateMatchFormatAndAllMatches(federalFormat)

@ -283,7 +283,7 @@ struct TournamentView: View {
.toolbarBackground(.visible, for: .navigationBar) .toolbarBackground(.visible, for: .navigationBar)
.navigationTitle("Rappel des délais") .navigationTitle("Rappel des délais")
} label: { } label: {
Label("Rappel des délais", systemImage: "calendarcalendar.badge.exclamationmark") Label("Rappel des délais", systemImage: "calendar.badge.exclamationmark")
} }
} }

Loading…
Cancel
Save