Browse Source

Fixed club information page

Arnaud Vergnet 1 year ago
parent
commit
b83e748d29
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/navigation/MainNavigator.js

+ 9
- 0
src/navigation/MainNavigator.js View File

@@ -30,6 +30,7 @@ import ProfileScreen from "../screens/Amicale/ProfileScreen";
30 30
 import ClubListScreen from "../screens/Amicale/Clubs/ClubListScreen";
31 31
 import ClubAboutScreen from "../screens/Amicale/Clubs/ClubAboutScreen";
32 32
 import AmicaleContactScreen from "../screens/Amicale/AmicaleContactScreen";
33
+import ClubDisplayScreen from "../screens/Amicale/Clubs/ClubDisplayScreen";
33 34
 
34 35
 const defaultScreenOptions = {
35 36
     gestureEnabled: true,
@@ -167,6 +168,14 @@ function MainStackComponent(props: { createTabNavigator: () => React.Node }) {
167 168
             {createScreenCollapsibleStack("profile", MainStack, ProfileScreen, i18n.t('screens.profile'))}
168 169
             {createScreenCollapsibleStack("club-list", MainStack, ClubListScreen, i18n.t('clubs.clubList'))}
169 170
             <MainStack.Screen
171
+                name="club-information"
172
+                component={ClubDisplayScreen}
173
+                options={{
174
+                    title: i18n.t('screens.clubDisplayScreen'),
175
+                    ...modalTransition,
176
+                }}
177
+            />
178
+            <MainStack.Screen
170 179
                 name="club-about"
171 180
                 component={ClubAboutScreen}
172 181
                 options={{

Loading…
Cancel
Save