fix match format setup

sync3
Razmig Sarkissian 1 month ago
parent d1435688eb
commit c7d5f4930e
  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))")
} footer: {
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 {
Button {
round.updateMatchFormatAndAllMatches(federalFormat)

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

Loading…
Cancel
Save