ordering-ui-react-native 0.21.70-release → 0.21.71-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.21.70-release",
3
+ "version": "0.21.71-release",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -577,12 +577,12 @@ export const OrderContentComponent = (props: OrderContent) => {
577
577
  order?.taxes?.length > 0 && order?.taxes?.filter((tax: any) => tax?.type === 2 && tax?.rate !== 0 && tax?.target === 'delivery_fee').map((tax: any, i: number) => (
578
578
  <Table key={`${tax.description}_${i}`}>
579
579
  <OSRow>
580
- <OText size={12} lineHeight={18} numberOfLines={1}>
580
+ <OText mBottom={4}>
581
581
  {tax.name || t('INHERIT_FROM_BUSINESS', 'Inherit from business')}
582
582
  {`(${verifyDecimals(tax?.rate, parseNumber)}%)`}
583
583
  </OText>
584
584
  </OSRow>
585
- <OText size={12} lineHeight={18}>{parsePrice(tax?.summary?.tax_after_discount ?? tax?.summary?.tax ?? 0)}</OText>
585
+ <OText mBottom={4}>{parsePrice(tax?.summary?.tax_after_discount ?? tax?.summary?.tax ?? 0)}</OText>
586
586
  </Table>
587
587
  ))
588
588
  }