ordering-ui-react-native 0.22.17 → 0.22.19

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.17",
3
+ "version": "0.22.19",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -309,7 +309,7 @@ export const BusinessControllerUI = React.memo((props: BusinessControllerParams)
309
309
  </ReviewAndFavorite>
310
310
  )}
311
311
  </View>
312
- <OText size={textSize} style={{ lineHeight: 15, marginBottom: 3 }} numberOfLines={2}>
312
+ <OText size={textSize} style={{ lineHeight: 15, marginBottom: 3, fontFamily: '' }} numberOfLines={1}>
313
313
  {business?.address}
314
314
  </OText>
315
315
  <Metadata>
@@ -133,7 +133,7 @@ const OrderProgressUI = (props: any) => {
133
133
  <View style={styles.logoWrapper}>
134
134
  <FastImage
135
135
  style={{ width: 50, height: 50 }}
136
- source={orderList?.orders.length === 1 && lastOrder?.business?.logo.includes('http') ? {
136
+ source={orderList?.orders.length === 1 && lastOrder?.business?.logo?.includes?.('http') ? {
137
137
  uri: optimizeImage(lastOrder?.business?.logo, 'h_50,c_limit'),
138
138
  priority: FastImage.priority.normal,
139
139
  } : theme.images.logos.logotype}