Better formatting for sort order selection in ProximoListScreen

This commit is contained in:
Yohan Simard 2020-03-08 14:41:04 +01:00
parent ab129764df
commit 9bbd3dd6b2

View file

@ -213,35 +213,35 @@ export default class ProximoListScreen extends React.Component<Props, State> {
> >
<View style={{ <View style={{
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'center', justifyContent: 'flex-start',
alignItems: 'center' alignItems: 'center'
}}> }}>
<Text>{i18n.t('proximoScreen.sortPrice')}</Text>
<RadioButton value={1}/> <RadioButton value={1}/>
<Text>{i18n.t('proximoScreen.sortPrice')}</Text>
</View> </View>
<View style={{ <View style={{
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'center', justifyContent: 'flex-start',
alignItems: 'center' alignItems: 'center'
}}> }}>
<Text>{i18n.t('proximoScreen.sortPriceReverse')}</Text>
<RadioButton value={2}/> <RadioButton value={2}/>
<Text>{i18n.t('proximoScreen.sortPriceReverse')}</Text>
</View> </View>
<View style={{ <View style={{
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'center', justifyContent: 'flex-start',
alignItems: 'center' alignItems: 'center'
}}> }}>
<Text>{i18n.t('proximoScreen.sortName')}</Text>
<RadioButton value={3}/> <RadioButton value={3}/>
<Text>{i18n.t('proximoScreen.sortName')}</Text>
</View> </View>
<View style={{ <View style={{
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'center', justifyContent: 'flex-start',
alignItems: 'center' alignItems: 'center'
}}> }}>
<Text>{i18n.t('proximoScreen.sortNameReverse')}</Text>
<RadioButton value={4}/> <RadioButton value={4}/>
<Text>{i18n.t('proximoScreen.sortNameReverse')}</Text>
</View> </View>
</RadioButton.Group> </RadioButton.Group>
</View> </View>