|
@@ -1,4 +1,5 @@
|
1
|
1
|
import React from 'react';
|
|
2
|
+import { Platform } from 'react-native';
|
2
|
3
|
|
3
|
4
|
import {
|
4
|
5
|
Icon,
|
|
@@ -42,7 +43,11 @@ export const drawerScreenOptions = {
|
42
|
43
|
headerShown: true,
|
43
|
44
|
headerStyle: {
|
44
|
45
|
backgroundColor: BaseTheme.palette.screen02Header
|
45
|
|
- }
|
|
46
|
+ },
|
|
47
|
+ orientation: Platform.select({
|
|
48
|
+ ios: 'default',
|
|
49
|
+ android: 'all'
|
|
50
|
+ })
|
46
|
51
|
};
|
47
|
52
|
|
48
|
53
|
/**
|
|
@@ -134,7 +139,11 @@ export const helpScreenOptions = {
|
134
|
139
|
export const conferenceScreenOptions = {
|
135
|
140
|
animation: 'default',
|
136
|
141
|
gestureEnabled: false,
|
137
|
|
- headerShown: false
|
|
142
|
+ headerShown: false,
|
|
143
|
+ orientation: Platform.select({
|
|
144
|
+ ios: 'default',
|
|
145
|
+ android: 'all'
|
|
146
|
+ })
|
138
|
147
|
};
|
139
|
148
|
|
140
|
149
|
/**
|
|
@@ -164,7 +173,11 @@ export const presentationScreenOptions = {
|
164
|
173
|
},
|
165
|
174
|
headerTitleStyle: {
|
166
|
175
|
color: BaseTheme.palette.text01
|
167
|
|
- }
|
|
176
|
+ },
|
|
177
|
+ orientation: Platform.select({
|
|
178
|
+ ios: 'default',
|
|
179
|
+ android: 'all'
|
|
180
|
+ })
|
168
|
181
|
};
|
169
|
182
|
|
170
|
183
|
/**
|
|
@@ -250,5 +263,9 @@ export const sharedDocumentScreenOptions = {
|
250
|
263
|
},
|
251
|
264
|
headerTitleStyle: {
|
252
|
265
|
color: BaseTheme.palette.text01
|
253
|
|
- }
|
|
266
|
+ },
|
|
267
|
+ orientation: Platform.select({
|
|
268
|
+ ios: 'default',
|
|
269
|
+ android: 'all'
|
|
270
|
+ })
|
254
|
271
|
};
|