fix animation settings

paca_championship
Raz 11 months ago
parent a0a6200dc9
commit 11acae92b0
  1. 38
      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 {
@ -391,7 +393,7 @@ struct InscriptionManagerView: View {
Text("Masquer les poids des équipes")
}
rankingDateSourcePickerView(showDateInLabel: true)
//rankingDateSourcePickerView(showDateInLabel: true)
Divider()

Loading…
Cancel
Save