mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
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:
parent
633d4819ec
commit
1bb0b84c26
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user