File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,8 @@ const styles = StyleSheet.create({
52
52
alignItems : 'center' ,
53
53
} ,
54
54
corner : {
55
- flex : 1 ,
56
- justifyContent : 'center' ,
57
- } ,
58
-
59
- alignLeft : {
60
- alignItems : 'flex-start' ,
61
- } ,
62
- alignRight : {
63
- alignItems : 'flex-end' ,
55
+ flexDirection : 'row' ,
56
+ alignItems : 'center' ,
64
57
} ,
65
58
buttonTextLeft : {
66
59
marginLeft : 10 ,
@@ -191,7 +184,7 @@ class NavBarContent extends React.Component {
191
184
192
185
if ( Platform . OS === 'ios' || this . props . route . leftCorner || this . props . route . index > 0 ) {
193
186
leftCorner = (
194
- < View style = { [ styles . corner , styles . alignLeft ] } >
187
+ < View style = { styles . corner } >
195
188
{ leftCornerContent }
196
189
</ View >
197
190
) ;
@@ -219,7 +212,7 @@ class NavBarContent extends React.Component {
219
212
220
213
if ( Platform . OS === 'ios' || this . props . route . rightCorner || this . props . route . index > 0 ) {
221
214
rightCorner = (
222
- < View style = { [ styles . corner , styles . alignRight ] } >
215
+ < View style = { styles . corner } >
223
216
{ rightCornerContent }
224
217
</ View >
225
218
) ;
You can’t perform that action at this time.
0 commit comments