ordering-ui-react-native 0.23.9 → 0.23.10

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.23.9",
3
+ "version": "0.23.10",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -982,7 +982,7 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
982
982
  </Table>
983
983
  ))
984
984
  }
985
- {typeof order?.summary?.delivery_price === 'number' && (
985
+ {typeof order?.summary?.delivery_price === 'number' && !isPickup && (
986
986
  <Table>
987
987
  <OText size={12} lineHeight={18} weight={'400'} color={theme.colors.textNormal}>{t('DELIVERY_FEE', 'Delivery Fee')}</OText>
988
988
  <OText size={12} lineHeight={18} weight={'400'} color={theme.colors.textNormal}>{parsePrice(order?.summary?.delivery_price) + getIncludedTaxes(true)}</OText>