From 1bb0b84c261bb051c46f729ce7ff7ec15509c369 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 18 Apr 2017 04:38:35 -0700 Subject: [PATCH] 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. --- src/views/Header.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Header.js b/src/views/Header.js index fa6e1ab..1cf9e13 100644 --- a/src/views/Header.js +++ b/src/views/Header.js @@ -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,