|
|
|
|
@ -15,8 +15,8 @@ struct TournamentBroadcastRowView: View { |
|
|
|
|
NavigationLink(value: Screen.broadcast) { |
|
|
|
|
LabeledContent { |
|
|
|
|
if Store.main.userId == nil { |
|
|
|
|
Image(systemName: "xmark.circle.fill") |
|
|
|
|
.foregroundStyle(.logoRed) |
|
|
|
|
Image(systemName: "exclamationmark.circle.fill") |
|
|
|
|
.foregroundStyle(.master) |
|
|
|
|
} else { |
|
|
|
|
if tournament.isPrivate { |
|
|
|
|
Text("tournoi privé").foregroundStyle(.logoRed) |
|
|
|
|
@ -27,7 +27,7 @@ struct TournamentBroadcastRowView: View { |
|
|
|
|
} label: { |
|
|
|
|
Text("Publication") |
|
|
|
|
if Store.main.userId == nil { |
|
|
|
|
Text("Un compte Padel Club est nécessaire") |
|
|
|
|
Text("Créez un compte pour publier !") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|