|
@@ -227,38 +227,10 @@ class ProximoListScreen extends React.Component<Props, State> {
|
227
|
227
|
onValueChange={value => this.setSortMode(value)}
|
228
|
228
|
value={this.state.currentSortMode}
|
229
|
229
|
>
|
230
|
|
- <View style={{
|
231
|
|
- flexDirection: 'row',
|
232
|
|
- justifyContent: 'flex-start',
|
233
|
|
- alignItems: 'center'
|
234
|
|
- }}>
|
235
|
|
- <RadioButton value={1}/>
|
236
|
|
- <Text>{i18n.t('proximoScreen.sortPrice')}</Text>
|
237
|
|
- </View>
|
238
|
|
- <View style={{
|
239
|
|
- flexDirection: 'row',
|
240
|
|
- justifyContent: 'flex-start',
|
241
|
|
- alignItems: 'center'
|
242
|
|
- }}>
|
243
|
|
- <RadioButton value={2}/>
|
244
|
|
- <Text>{i18n.t('proximoScreen.sortPriceReverse')}</Text>
|
245
|
|
- </View>
|
246
|
|
- <View style={{
|
247
|
|
- flexDirection: 'row',
|
248
|
|
- justifyContent: 'flex-start',
|
249
|
|
- alignItems: 'center'
|
250
|
|
- }}>
|
251
|
|
- <RadioButton value={3}/>
|
252
|
|
- <Text>{i18n.t('proximoScreen.sortName')}</Text>
|
253
|
|
- </View>
|
254
|
|
- <View style={{
|
255
|
|
- flexDirection: 'row',
|
256
|
|
- justifyContent: 'flex-start',
|
257
|
|
- alignItems: 'center'
|
258
|
|
- }}>
|
259
|
|
- <RadioButton value={4}/>
|
260
|
|
- <Text>{i18n.t('proximoScreen.sortNameReverse')}</Text>
|
261
|
|
- </View>
|
|
230
|
+ <RadioButton.Item label={i18n.t('proximoScreen.sortPrice')} value={1}/>
|
|
231
|
+ <RadioButton.Item label={i18n.t('proximoScreen.sortPriceReverse')} value={2}/>
|
|
232
|
+ <RadioButton.Item label={i18n.t('proximoScreen.sortName')} value={3}/>
|
|
233
|
+ <RadioButton.Item label={i18n.t('proximoScreen.sortNameReverse')} value={4}/>
|
262
|
234
|
</RadioButton.Group>
|
263
|
235
|
</View>
|
264
|
236
|
);
|