diff --git a/components/NavBarContent.js b/components/NavBarContent.js index 8bca05d..05a25e9 100644 --- a/components/NavBarContent.js +++ b/components/NavBarContent.js @@ -52,15 +52,8 @@ const styles = StyleSheet.create({ alignItems: 'center', }, corner: { - flex: 1, - justifyContent: 'center', - }, - - alignLeft: { - alignItems: 'flex-start', - }, - alignRight: { - alignItems: 'flex-end', + flexDirection: 'row', + alignItems: 'center', }, buttonTextLeft: { marginLeft: 10, @@ -191,7 +184,7 @@ class NavBarContent extends React.Component { if (Platform.OS === 'ios' || this.props.route.leftCorner || this.props.route.index > 0) { leftCorner = ( - + {leftCornerContent} ); @@ -219,7 +212,7 @@ class NavBarContent extends React.Component { if (Platform.OS === 'ios' || this.props.route.rightCorner || this.props.route.index > 0) { rightCorner = ( - + {rightCornerContent} );