updated style

This commit is contained in:
u-e 2019-05-25 14:44:43 +03:00
parent ac15e4df6a
commit 9e4f3223ae
2 changed files with 9 additions and 10 deletions

View File

@ -65,9 +65,15 @@ export default EStyleSheet.create({
backButton: { backButton: {
marginLeft: 24, marginLeft: 24,
}, },
backButtonWrapper: { reverseBackButtonWrapper: {
flexGrow: 1, flexGrow: 1,
flexDirection: 'column', flexDirection: 'column',
justifyContent: 'center', justifyContent: 'center',
}, },
backButtonWrapper: {
alignItems: 'flex-end',
justifyContent: 'center',
flex: 1,
marginRight: 16,
},
}); });

View File

@ -104,7 +104,7 @@ class HeaderView extends Component {
</View> </View>
)} )}
{isReverse && ( {isReverse && (
<View style={styles.backButtonWrapper}> <View style={styles.reverseBackButtonWrapper}>
<IconButton <IconButton
style={styles.backButton} style={styles.backButton}
iconStyle={styles.backIcon} iconStyle={styles.backIcon}
@ -115,14 +115,7 @@ class HeaderView extends Component {
)} )}
{!isReverse && ( {!isReverse && (
<View <View style={styles.backButtonWrapper}>
style={{
alignItems: 'flex-end',
justifyContent: 'center',
flex: 1,
marginRight: 16,
}}
>
<IconButton <IconButton
iconStyle={styles.backIcon} iconStyle={styles.backIcon}
name="md-search" name="md-search"