ordering-ui-react-native 0.12.72 → 0.12.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.12.72",
3
+ "version": "0.12.73",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -117,10 +117,8 @@ export const ActiveOrders = (props: ActiveOrdersParams) => {
117
117
  {pagination?.totalPages && pagination?.currentPage < pagination?.totalPages && (
118
118
  <LoadMore>
119
119
  <OButton
120
- bgColor={theme.colors.white}
121
- textStyle={{ color: theme.colors.primary, fontSize: 14 }}
120
+ textStyle={{ color: '#fff' }}
122
121
  text={t('LOAD_MORE_ORDERS', 'Load more orders')}
123
- borderColor={theme.colors.primary}
124
122
  onClick={loadMoreOrders}
125
123
  style={styles.loadMoreButton}
126
124
  />
@@ -154,9 +152,9 @@ const styles = StyleSheet.create({
154
152
  minWidth: 230,
155
153
  },
156
154
  loadMoreButton: {
157
- width: 200,
158
- height: 46,
155
+ width: '100%',
159
156
  marginLeft: 'auto',
160
157
  marginRight: 'auto',
158
+ borderRadius: 7.6
161
159
  },
162
160
  });
@@ -5,7 +5,7 @@ export const BCContainer = styled.View`
5
5
  width: 100%;
6
6
  justify-content: flex-start;
7
7
  text-align: center;
8
- min-height: 45px;
8
+ min-height: 60px;
9
9
  `
10
10
 
11
11
  export const BusinessCategories = styled.View`
@@ -203,7 +203,7 @@ export const OrdersOption = (props: OrdersOptionParams) => {
203
203
  useDefualtSessionManager: true,
204
204
  paginationSettings: {
205
205
  initialPage: 1,
206
- pageSize: props.activeOrders || props.preOrders ? -1 : 10,
206
+ pageSize: 10,
207
207
  controlType: 'infinity'
208
208
  }
209
209
  }