ordering-ui-react-native 0.16.33-release → 0.16.34-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
|
@@ -153,7 +153,7 @@ const AddressFormUI = (props: AddressFormParams) => {
|
|
|
153
153
|
'true';
|
|
154
154
|
const maxLimitLocation =
|
|
155
155
|
configState?.configs?.meters_to_change_address?.value;
|
|
156
|
-
|
|
156
|
+
const countryCode = configState?.configs?.country_autocomplete?.value
|
|
157
157
|
const continueAsGuest = () => navigation.navigate('BusinessList', { isGuestUser: true });
|
|
158
158
|
const goToBack = () => navigation?.canGoBack() && navigation.goBack();
|
|
159
159
|
|
|
@@ -543,7 +543,10 @@ const AddressFormUI = (props: AddressFormParams) => {
|
|
|
543
543
|
onPress={(data, details: any) => {
|
|
544
544
|
handleChangeAddress(data, details);
|
|
545
545
|
}}
|
|
546
|
-
query={{
|
|
546
|
+
query={{
|
|
547
|
+
key: googleMapsApiKey,
|
|
548
|
+
components: countryCode && countryCode !== '*' ? `country:${countryCode}` : ''
|
|
549
|
+
}}
|
|
547
550
|
fetchDetails
|
|
548
551
|
ref={googleInput}
|
|
549
552
|
textInputProps={{
|
|
@@ -468,7 +468,7 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
|
|
|
468
468
|
<HeaderWrapper
|
|
469
469
|
source={bgHeader ? { uri: bgHeader } : theme.images.backgrounds.business_list_header}
|
|
470
470
|
style={{ paddingTop: top + 20 }}
|
|
471
|
-
resizeMode='
|
|
471
|
+
resizeMode='cover'
|
|
472
472
|
>
|
|
473
473
|
{!auth && (
|
|
474
474
|
|
|
@@ -60,9 +60,7 @@ export const WrapMomentOption = styled.TouchableOpacity`
|
|
|
60
60
|
|
|
61
61
|
export const HeaderWrapper = styled.ImageBackground`
|
|
62
62
|
width: 100%;
|
|
63
|
-
height:
|
|
64
|
-
min-height: 270px;
|
|
65
|
-
max-height: 400px;
|
|
63
|
+
height: 270px;
|
|
66
64
|
padding: 20px 40px;
|
|
67
65
|
background-color: transparent;
|
|
68
66
|
`;
|