forked from vergnet/application-amicale
Changed default sort order
This commit is contained in:
parent
2c99d2bb62
commit
4c6905a5d5
2 changed files with 3 additions and 3 deletions
|
@ -63,8 +63,8 @@ class ProximoListScreen extends React.Component<Props, State> {
|
||||||
this.originalData = this.props.route.params['data']['data'];
|
this.originalData = this.props.route.params['data']['data'];
|
||||||
this.shouldFocusSearchBar = this.props.route.params['shouldFocusSearchBar'];
|
this.shouldFocusSearchBar = this.props.route.params['shouldFocusSearchBar'];
|
||||||
this.state = {
|
this.state = {
|
||||||
currentlyDisplayedData: this.originalData.sort(sortPrice),
|
currentlyDisplayedData: this.originalData.sort(sortName),
|
||||||
currentSortMode: 1,
|
currentSortMode: 3,
|
||||||
modalCurrentDisplayItem: null,
|
modalCurrentDisplayItem: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default class AsyncStorageManager {
|
||||||
},
|
},
|
||||||
updateNumber: {
|
updateNumber: {
|
||||||
key: 'updateNumber',
|
key: 'updateNumber',
|
||||||
default: '1',
|
default: '0',
|
||||||
current: '',
|
current: '',
|
||||||
},
|
},
|
||||||
proxiwashNotifications: {
|
proxiwashNotifications: {
|
||||||
|
|
Loading…
Reference in a new issue