Skip to content

Commit

Permalink
Merge pull request #139 from CTeamer56/header
Browse files Browse the repository at this point in the history
fixed uncentered header
  • Loading branch information
clydebates committed Aug 30, 2019
2 parents 2717ad2 + de8d0ea commit 388d1f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions navigation/subStacks/DefaultHeader.js
Expand Up @@ -17,11 +17,11 @@ const defaultHeader = {
headerStyle: {
backgroundColor: '#4c4c4c',
},
headerLayoutPreset: 'center',
},
config,
),
};
),
headerLayoutPreset: 'center',
};


export default defaultHeader;
7 changes: 3 additions & 4 deletions screens/Header.js
Expand Up @@ -3,9 +3,8 @@ import { Text } from 'react-native';

export default ManifestTitle = () => (
<Text
style={{ color: '#fff', fontWeight: 'bold', fontSize: 25 }}
style={{
color: '#fff', fontWeight: 'bold', fontSize: 25 }}
onPress={() => console.log('Would be nice if this went back to home screen')}
>
Manifest
</Text>
>Manifest</Text>
);

0 comments on commit 388d1f2

Please sign in to comment.