diff --git a/PadelClub/ViewModel/AgendaDestination.swift b/PadelClub/ViewModel/AgendaDestination.swift index 49480f1..7b9c77d 100644 --- a/PadelClub/ViewModel/AgendaDestination.swift +++ b/PadelClub/ViewModel/AgendaDestination.swift @@ -80,7 +80,7 @@ enum AgendaDestination: Int, CaseIterable, Identifiable, Selectable, Equatable { return nil case .tenup: if FederalDataViewModel.shared.federalTournaments.isEmpty { - return .custom(systemName: "exclamationmark.circle.fill", color: .yellow) + return .custom(systemName: "exclamationmark.circle.fill", color: .logoYellow) } else { return nil } diff --git a/PadelClub/Views/Navigation/Umpire/UmpireView.swift b/PadelClub/Views/Navigation/Umpire/UmpireView.swift index dba656e..04345a2 100644 --- a/PadelClub/Views/Navigation/Umpire/UmpireView.swift +++ b/PadelClub/Views/Navigation/Umpire/UmpireView.swift @@ -227,12 +227,12 @@ struct AccountRowView: View { LabeledContent { if Store.main.hasToken() { Text(self.userName) - } else { - Image(systemName: "exclamationmark.circle.fill") - .foregroundStyle(.master) + } else if Store.main.userName() != nil { + Image(systemName: "xmark.circle.fill") + .foregroundStyle(.logoRed) } } label: { - Label(Store.main.userName() == nil ? "Créer votre compte Padel Club" : "Mon compte", systemImage: "person.fill") + Label("Mon compte Padel Club", systemImage: "person.fill") if dataStore.user.email.isEmpty == false { Text(dataStore.user.email) } diff --git a/PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.swift b/PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.swift index d4b1ce2..cef1f5c 100644 --- a/PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.swift +++ b/PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.swift @@ -16,7 +16,7 @@ struct TournamentBroadcastRowView: View { LabeledContent { if Store.main.userId == nil { Image(systemName: "exclamationmark.circle.fill") - .foregroundStyle(.master) + .foregroundStyle(.logoYellow) } else { if tournament.isPrivate { Text("tournoi privé").foregroundStyle(.logoRed)