fix animation settings

paca_championship
Raz 11 months ago
parent a0a6200dc9
commit 0ff0d3fd81
  1. 36
      PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift

@ -320,25 +320,27 @@ struct InscriptionManagerView: View {
.symbolVariant(filterMode == .all ? .none : .fill) .symbolVariant(filterMode == .all ? .none : .fill)
} }
Menu { Menu {
if tournament.isAnimation() == false { if tournament.inscriptionClosed() == false {
if tournament.inscriptionClosed() == false { Menu {
Menu { _sortingTypePickerView()
_sortingTypePickerView() } label: {
} label: { Text("Méthode de sélection")
Text("Méthode de sélection") Text(tournament.teamSorting.localizedLabel())
Text(tournament.teamSorting.localizedLabel()) }
} Divider()
Divider() rankingDateSourcePickerView(showDateInLabel: true)
rankingDateSourcePickerView(showDateInLabel: true)
Divider() Divider()
Button { Button {
tournament.lockRegistration() tournament.lockRegistration()
_save() _save()
} label: { } label: {
Label("Clôturer", systemImage: "lock") Label("Clôturer", systemImage: "lock")
} }
}
if tournament.isAnimation() == false {
if tournament.inscriptionClosed() == false {
Divider() Divider()
Section { Section {

Loading…
Cancel
Save