ordering-ui-react-native 0.17.29 → 0.17.30

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.17.29",
3
+ "version": "0.17.30",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -600,10 +600,10 @@ const AddressFormUI = (props: AddressFormParams) => {
600
600
  />
601
601
 
602
602
  {(
603
- (!isEditing && !isGuestUser && !formState.changes?.address) ||
604
- (isEditing && !isGuestUser && !formState.changes?.address && formState.changes?.address !== undefined)) ||
605
- (isGuestUser && !formState.changes?.address && formState.changes?.address !== undefined) &&
606
- (
603
+ ((!isEditing && !isGuestUser && !formState.changes?.address) ||
604
+ (isEditing && !isGuestUser && !formState.changes?.address && formState.changes?.address !== undefined)) ||
605
+ (isGuestUser && !formState.changes?.address && formState.changes?.address !== undefined)) &&
606
+ (
607
607
  <View style={styles.pinIcon}>
608
608
  <GPSButton
609
609
  apiKey={googleMapsApiKey}
@@ -617,7 +617,7 @@ const AddressFormUI = (props: AddressFormParams) => {
617
617
  IconButton={<OIcon src={theme.images.general.pin} width={16} />}
618
618
  />
619
619
  </View>
620
- )}
620
+ )}
621
621
  </AutocompleteInput>
622
622
 
623
623
  {(locationChange || formState.changes?.location) && (