consistency yellow

multistore
Razmig Sarkissian 1 year ago
parent f0919515bf
commit c5cc8c0233
  1. 2
      PadelClub/ViewModel/AgendaDestination.swift
  2. 8
      PadelClub/Views/Navigation/Umpire/UmpireView.swift
  3. 2
      PadelClub/Views/Tournament/Shared/TournamentBroadcastRowView.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
}

@ -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)
}

@ -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)

Loading…
Cancel
Save