main
Razmig Sarkissian 1 month ago
parent fbd2a083b1
commit 44f9ab1b1c
  1. 2
      PadelClub/ViewModel/AgendaDestination.swift
  2. 8
      PadelClub/Views/Navigation/MainView.swift

@ -25,7 +25,7 @@ enum AgendaDestination: Int, CaseIterable, Identifiable, Selectable, Equatable {
var localizedTitleKey: String {
switch self {
case .activity:
return "En cours"
return "À venir"
case .history:
return "Terminé"
case .tenup:

@ -80,16 +80,16 @@ struct MainView: View {
}
.toolbarBackground(.visible, for: .tabBar)
OngoingContainerView()
.tabItem(for: .ongoing)
.badge(self.dataStore.runningMatches().count)
.toolbarBackground(.visible, for: .tabBar)
UmpireOptionsView()
.tabItem(for: .umpire)
.toolbarBackground(.visible, for: .tabBar)
// TournamentOrganizerView()
// .tabItem(for: .tournamentOrganizer)
// .toolbarBackground(.visible, for: .tabBar)
OngoingContainerView()
.tabItem(for: .ongoing)
.badge(self.dataStore.runningMatches().count)
.toolbarBackground(.visible, for: .tabBar)
ToolboxView()
.tabItem(for: .toolbox)
.toolbarBackground(.visible, for: .tabBar)

Loading…
Cancel
Save