ordering-ui-react-native 0.22.20-release → 0.22.21-release

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.22.20-release",
3
+ "version": "0.22.21-release",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -377,7 +377,7 @@ const MomentOptionUI = (props: MomentOptionParams) => {
377
377
  titleWrapStyle={{ paddingHorizontal: 0 }}
378
378
  />
379
379
  )}
380
- {(preorderMinimumDays === 0 && preorderLeadTime === 0) || !cateringPreorder && (
380
+ {((preorderMinimumDays === 0 && preorderLeadTime === 0) || !cateringPreorder) && (
381
381
  <WrapSelectOption
382
382
  onPress={() => _handleAsap()}
383
383
  disabled={orderState.loading} style={{ alignItems: 'flex-start' }}>
@@ -510,4 +510,4 @@ export const MomentOption = (props: any) => {
510
510
  UIComponent: MomentOptionUI,
511
511
  };
512
512
  return <MomentOptionController {...momentOptionProps} />;
513
- };
513
+ };