diff --git a/PadelClub/ViewModel/AgendaDestination.swift b/PadelClub/ViewModel/AgendaDestination.swift index e025a0b..1862235 100644 --- a/PadelClub/ViewModel/AgendaDestination.swift +++ b/PadelClub/ViewModel/AgendaDestination.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: diff --git a/PadelClub/Views/Navigation/MainView.swift b/PadelClub/Views/Navigation/MainView.swift index 3fd2bc7..cc90f20 100644 --- a/PadelClub/Views/Navigation/MainView.swift +++ b/PadelClub/Views/Navigation/MainView.swift @@ -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)