Browse Source

Changed default sort order

keplyx 4 years ago
parent
commit
4c6905a5d5
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      screens/Proximo/ProximoListScreen.js
  2. 1
    1
      utils/AsyncStorageManager.js

+ 2
- 2
screens/Proximo/ProximoListScreen.js View File

@@ -63,8 +63,8 @@ class ProximoListScreen extends React.Component<Props, State> {
63 63
         this.originalData = this.props.route.params['data']['data'];
64 64
         this.shouldFocusSearchBar = this.props.route.params['shouldFocusSearchBar'];
65 65
         this.state = {
66
-            currentlyDisplayedData: this.originalData.sort(sortPrice),
67
-            currentSortMode: 1,
66
+            currentlyDisplayedData: this.originalData.sort(sortName),
67
+            currentSortMode: 3,
68 68
             modalCurrentDisplayItem: null,
69 69
         };
70 70
 

+ 1
- 1
utils/AsyncStorageManager.js View File

@@ -31,7 +31,7 @@ export default class AsyncStorageManager {
31 31
         },
32 32
         updateNumber: {
33 33
             key: 'updateNumber',
34
-            default: '1',
34
+            default: '0',
35 35
             current: '',
36 36
         },
37 37
         proxiwashNotifications: {

Loading…
Cancel
Save