Layout fixed

This commit is contained in:
Diego Mello 2017-12-05 15:31:45 -02:00
parent d4c652d33f
commit 763dcf68c2
1 changed files with 3 additions and 4 deletions

View File

@ -89,7 +89,8 @@ const styles = StyleSheet.create({
justifyContent: 'center',
backgroundColor: 'transparent',
borderBottomWidth: StyleSheet.hairlineWidth,
borderBottomColor: 'rgba(0, 0, 0, .3)'
borderBottomColor: 'rgba(0, 0, 0, .3)',
paddingHorizontal: 20
}
});
@ -171,9 +172,7 @@ export default class extends React.PureComponent {
style={styles.modalButton}
onPress={() => this.onPressModalButton(status)}
>
<View style={{ width: '47%', alignItems: 'flex-end' }}>
<View style={statusStyle} />
</View>
<Text style={textStyle}>
{text || status.charAt(0).toUpperCase() + status.slice(1)}
</Text>