Swap Platform preference for title alignment (#997)

Centered titles are generally specific to iOS, left alignment of the title appears more common in platforms outside Android and iOS.

This also fits better with the rest of the conditionals that test for iOS instead of Android.
This commit is contained in:
Daniel Friesen 2017-04-18 04:38:35 -07:00 committed by Mike Grabowski
parent 633d4819ec
commit 1bb0b84c26

View File

@ -308,9 +308,9 @@ const styles = StyleSheet.create({
right: TITLE_OFFSET,
top: 0,
position: 'absolute',
alignItems: Platform.OS === 'android'
? 'flex-start'
: 'center',
alignItems: Platform.OS === 'ios'
? 'center'
: 'flex-start',
},
left: {
left: 0,