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({
5252 alignItems : 'center' ,
5353 } ,
5454 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' ,
6457 } ,
6558 buttonTextLeft : {
6659 marginLeft : 10 ,
@@ -191,7 +184,7 @@ class NavBarContent extends React.Component {
191184
192185 if ( Platform . OS === 'ios' || this . props . route . leftCorner || this . props . route . index > 0 ) {
193186 leftCorner = (
194- < View style = { [ styles . corner , styles . alignLeft ] } >
187+ < View style = { styles . corner } >
195188 { leftCornerContent }
196189 </ View >
197190 ) ;
@@ -219,7 +212,7 @@ class NavBarContent extends React.Component {
219212
220213 if ( Platform . OS === 'ios' || this . props . route . rightCorner || this . props . route . index > 0 ) {
221214 rightCorner = (
222- < View style = { [ styles . corner , styles . alignRight ] } >
215+ < View style = { styles . corner } >
223216 { rightCornerContent }
224217 </ View >
225218 ) ;
You can’t perform that action at this time.
0 commit comments