Skip to content

Commit 498bf0e

Browse files
committed
Merge pull request #83 from mojotech/center_navtitle_always
Center navigation content title always
2 parents 5a8bc91 + 9d1034f commit 498bf0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/NavBarContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class NavBarContent extends React.Component {
209209
);
210210
}
211211

212-
if (Platform.OS === 'ios' || this.props.route.rightCorner || this.props.rightCorner) {
212+
if (Platform.OS === 'ios' || this.props.route.rightCorner || this.props.route.index > 0) {
213213
rightCorner = (
214214
<View style={[styles.corner, styles.alignRight]}>
215215
{rightCornerContent}

0 commit comments

Comments
 (0)