ordering-ui-react-native 0.21.8 → 0.21.9

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.8",
3
+ "version": "0.21.9",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -375,7 +375,7 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
375
375
  )}
376
376
  <View style={{
377
377
  height: !isPreOrderSetting && isChewLayout ? 150 : isChewLayout ? 200 : isFarAway ? 150 : 100,
378
- marginTop: Platform.OS == 'ios' ? 0 : 50,
378
+ marginTop: isChewLayout ? 0 : Platform.OS == 'ios' ? 0 : 50,
379
379
  backgroundColor: isChewLayout ? theme?.colors?.chew : theme.colors?.white
380
380
  }}
381
381
  >
@@ -613,7 +613,7 @@ export const ProductOptionsUI = (props: any) => {
613
613
  >
614
614
  {(String(img).includes('http') || typeof img === 'number') ? (
615
615
  <FastImage
616
- style={{ height: '100%', opacity: isSoldOut ? 0.5 : 1, aspectRatio: 4 / 3 }}
616
+ style={{ height: '100%', opacity: isSoldOut ? 0.5 : 1, aspectRatio: 16 / 9 }}
617
617
  source={typeof img !== 'number' ? {
618
618
  uri: optimizeImage(img, 'h_1024,c_limit'),
619
619
  priority: FastImage.priority.normal,