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)
}
Menu {
if tournament.inscriptionClosed() == false {
Menu {
_sortingTypePickerView()
} label: {
Text("Méthode de sélection")
Text(tournament.teamSorting.localizedLabel())
}
Divider()
rankingDateSourcePickerView(showDateInLabel: true)
Divider()
Button {
tournament.lockRegistration()
_save()
} label: {
Label("Clôturer", systemImage: "lock")
}
}
if tournament.isAnimation() == false {
if tournament.inscriptionClosed() == false {
Menu {
_sortingTypePickerView()
} label: {
Text("Méthode de sélection")
Text(tournament.teamSorting.localizedLabel())
}
Divider()
rankingDateSourcePickerView(showDateInLabel: true)
Divider()
Button {
tournament.lockRegistration()
_save()
} label: {
Label("Clôturer", systemImage: "lock")
}
Divider()
Section {

Loading…
Cancel
Save