You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,8 +105,8 @@ fun EventDivisionView(eventDivisionViewModel: EventDivisionViewModel = viewModel
114
105
)
115
106
116
107
// setting up the individual tabs
117
-
val teamsTab =TabBarItem(title ="Teams", direction =EventTeamsViewDestination(eventDivisionViewModel.event), selectedIcon =Icons.Filled.People, unselectedIcon =Icons.Outlined.PeopleOutline)
118
-
val matchListTab =TabBarItem(title ="Match List", direction =EventDivisionMatchesViewDestination(), selectedIcon =Icons.Filled.AccessTimeFilled, unselectedIcon =Icons.Outlined.AccessTime)
108
+
val teamsTab =TabBarItem(title ="Teams", direction =EventTeamsViewDestination(eventDivisionViewModel.event, eventDivisionViewModel.division), selectedIcon =Icons.Filled.People, unselectedIcon =Icons.Outlined.PeopleOutline)
109
+
val matchListTab =TabBarItem(title ="Match List", direction =EventDivisionMatchesViewDestination(eventDivisionViewModel.event, eventDivisionViewModel.division), selectedIcon =Icons.Filled.AccessTimeFilled, unselectedIcon =Icons.Outlined.AccessTime)
119
110
val rankingsTab =TabBarItem(title ="Rankings", direction =EventDivisionRankingsViewDestination(eventDivisionViewModel.event, eventDivisionViewModel.division), selectedIcon =Icons.Filled.FormatListNumbered, unselectedIcon =Icons.Filled.FormatListNumbered)
120
111
val awardsTab =TabBarItem(title ="Awards", direction =EventDivisionAwardsViewDestination(), selectedIcon =Icons.Filled.EmojiEvents, unselectedIcon =Icons.Outlined.EmojiEvents)
121
112
@@ -163,32 +154,36 @@ fun EventDivisionView(eventDivisionViewModel: EventDivisionViewModel = viewModel
163
154
modifier =Modifier.fillMaxSize().padding(padding)
164
155
) {
165
156
// Replace DestinationsNavHost below with if statement to check if the tab is selected
0 commit comments