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