add sharing back

main
Razmig Sarkissian 1 month ago
parent 8fdeff82f1
commit e466543628
  1. 16
      PadelClub/Views/Tournament/TournamentView.swift

@ -277,9 +277,9 @@ struct TournamentView: View {
Label(tournament.isFree() ? "Présence" : "Encaissement", systemImage: tournament.isFree() ? "person.crop.circle.badge.checkmark" : "eurosign.circle")
}
NavigationLink(value: Screen.statistics) {
Label("Statistiques", systemImage: "123.rectangle")
}
// NavigationLink(value: Screen.statistics) {
// Label("Statistiques", systemImage: "123.rectangle")
// }
NavigationLink(value: Screen.rankings) {
LabeledContent {
@ -303,11 +303,11 @@ struct TournamentView: View {
Label("Imprimer", systemImage: "printer")
}
// if self.tournament.sharing == nil {
// NavigationLink(value: Screen.share) {
// Label("Partager", systemImage: "square.and.arrow.up")
// }
// }
if self.tournament.sharing == nil {
NavigationLink(value: Screen.share) {
Label("Partager", systemImage: "square.and.arrow.up")
}
}
Divider()

Loading…
Cancel
Save