fix message

multistore
Razmig Sarkissian 1 year ago
parent effaef46b3
commit 80c042867e
  1. 6
      PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.swift

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

Loading…
Cancel
Save