ordering-ui-react-native 0.12.56 → 0.12.57

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.56",
3
+ "version": "0.12.57",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -428,15 +428,15 @@ export const OrderContentComponent = (props: OrderContent) => {
428
428
  {parsePrice(order?.summary?.total ?? 0)}
429
429
  </OText>
430
430
  </Table>
431
+ {order?.comment && (
432
+ <Table>
433
+ <OText style={{ flex: 1 }}>{t('COMMENT', 'Comment')}</OText>
434
+ <OText style={{ maxWidth: '70%' }}>
435
+ {order?.comment}
436
+ </OText>
437
+ </Table>
438
+ )}
431
439
  </Total>
432
- {order?.comment && (
433
- <Table>
434
- <OText style={{ flex: 1 }}>{t('COMMENT', 'Comment')}</OText>
435
- <OText style={{ maxWidth: '70%' }}>
436
- {order?.comment}
437
- </OText>
438
- </Table>
439
- )}
440
440
  </OrderBill >
441
441
  <OModal
442
442
  open={openReviewModal}
@@ -68,6 +68,7 @@ export const Table = styled.View`
68
68
 
69
69
  export const OrderBill = styled.View`
70
70
  padding-vertical: 20px;
71
+ padding-bottom: 30px;
71
72
  flex: 1;
72
73
  `;
73
74