ordering-ui-react-native 0.12.63 → 0.12.64

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.63",
3
+ "version": "0.12.64",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -65,8 +65,8 @@ export const BusinessBasicInformation = (
65
65
  <BusinessHeader
66
66
  style={
67
67
  isBusinessInfoShow
68
- ? {...styles.businesInfoheaderStyle, paddingTop: top}
69
- : { ...styles.headerStyle, paddingTop: top, backgroundColor: theme.colors.backgroundGray }
68
+ ? {...styles.businesInfoheaderStyle, paddingTop: 0}
69
+ : { ...styles.headerStyle, paddingTop: 0, backgroundColor: theme.colors.backgroundGray }
70
70
  }
71
71
  source={{
72
72
  uri:
@@ -182,7 +182,7 @@ const BusinessProductsListingUI = (props: BusinessProductsListingParams) => {
182
182
  >
183
183
  <WrapHeader>
184
184
  {(!auth || props.isFranchiseApp) && !loading &&
185
- <TopHeader style={{top: top}}>
185
+ <TopHeader style={{top: 0}}>
186
186
  <NavBar
187
187
  style={{ paddingBottom: 0, marginLeft: 20, backgroundColor: 'transparent' }}
188
188
  btnStyle={{ backgroundColor: 'transparent' }}
@@ -297,7 +297,7 @@ const BusinessProductsListingUI = (props: BusinessProductsListingParams) => {
297
297
  btnRightValue={parsePrice(currentCart?.total)}
298
298
  disabled={openUpselling || currentCart?.subtotal < currentCart?.minimum}
299
299
  handleClick={() => onRedirect('Cart')}
300
- hasBottom
300
+ hasBottom={false}
301
301
  />
302
302
  )}
303
303
  <OModal
@@ -163,7 +163,7 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
163
163
  isFromBusinesses: true,
164
164
  })
165
165
  }
166
- style={{ marginTop: !auth ? 36 : top > 0 ? 0 : 20 }}
166
+ style={{ marginTop: !auth ? 36 : 20 }}
167
167
  activeOpacity={0.8}
168
168
  >
169
169
  <OIcon src={theme.images.general.pin} width={16} color={theme.colors.textSecondary} />