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: {
marginLeft: 24,
},
backButtonWrapper: {
reverseBackButtonWrapper: {
flexGrow: 1,
flexDirection: 'column',
justifyContent: 'center',
},
backButtonWrapper: {
alignItems: 'flex-end',
justifyContent: 'center',
flex: 1,
marginRight: 16,
},
});

View File

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