ordering-ui-react-native 0.17.82 → 0.17.83

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.17.82",
3
+ "version": "0.17.83",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -172,7 +172,7 @@ const AddressListUI = (props: AddressListParams) => {
172
172
  onActionLeft={() => goToBack()}
173
173
  showCall={false}
174
174
  btnStyle={{ paddingLeft: 0 }}
175
- paddingTop={0}
175
+ paddingTop={10}
176
176
  style={{ marginTop: 0 }}
177
177
  titleWrapStyle={{ paddingHorizontal: 0 }}
178
178
  titleStyle={{ marginLeft: 0, marginRight: 0 }}
@@ -13,7 +13,8 @@ import IconAntDesign from 'react-native-vector-icons/AntDesign'
13
13
  import {
14
14
  StyleSheet,
15
15
  View,
16
- TouchableOpacity
16
+ TouchableOpacity,
17
+ Platform
17
18
  } from 'react-native';
18
19
  import Spinner from 'react-native-loading-spinner-overlay';
19
20
  import { MomentOptionParams } from '../../types';
@@ -263,6 +264,7 @@ const MomentOptionUI = (props: MomentOptionParams) => {
263
264
  onActionLeft={() => goToBack()}
264
265
  btnStyle={{ paddingLeft: 0 }}
265
266
  style={{ paddingBottom: 0 }}
267
+ paddingTop={Platform.OS === 'ios' ? 10 : 0}
266
268
  title={t('QUESTION_WHEN_ORDER', 'When do you want your order?')}
267
269
  titleAlign={'center'}
268
270
  titleStyle={{ fontSize: 20, marginRight: 0, marginLeft: 0 }}
@@ -96,7 +96,7 @@ const OrderTypeSelectorUI = (props: OrderTypeSelectParams) => {
96
96
  <NavBar
97
97
  onActionLeft={() => goToBack()}
98
98
  btnStyle={{ paddingLeft: 0, width: 50 }}
99
- paddingTop={0}
99
+ paddingTop={Platform.OS === 'ios' ? 10 : 0}
100
100
  style={{ paddingBottom: 0 }}
101
101
  title={t('HOW_WILL_YOU_DELIVERY_TYPE', 'How will your order type?')}
102
102
  titleAlign={'center'}