ordering-ui-react-native 0.16.72 → 0.16.73
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
|
@@ -465,26 +465,14 @@ const BusinessesListingUI = (props: BusinessesListingParams) => {
|
|
|
465
465
|
</OrderTypesContainer>
|
|
466
466
|
)}
|
|
467
467
|
{!businessId && (
|
|
468
|
-
<
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
placeholder={t('SEARCH', 'Search')}
|
|
477
|
-
height={50}
|
|
478
|
-
isDisabled={true}
|
|
479
|
-
inputContainerStyles={styles.inputContainerStyles}
|
|
480
|
-
containerStyles={{
|
|
481
|
-
marginHorizontal: 40,
|
|
482
|
-
marginTop: 20
|
|
483
|
-
}}
|
|
484
|
-
inputStyle={{ ...styles.searchInput, ...Platform.OS === 'ios' ? { paddingBottom: 6 } : { paddingBottom: 4 } }}
|
|
485
|
-
onPress={() => { navigation.navigate('BusinessSearch', { businessTypes }) }}
|
|
486
|
-
onSubmitEditing={() => { navigation.navigate('BusinessSearch', { businessTypes, defaultTerm: searchValue }) }}
|
|
487
|
-
/>
|
|
468
|
+
<View style={{ marginTop: 20 }}>
|
|
469
|
+
<OButton
|
|
470
|
+
onClick={() => navigation.navigate('BusinessSearch', { businessTypes })}
|
|
471
|
+
text={t('SEARCH', 'Search')}
|
|
472
|
+
style={styles?.buttonCityStyle}
|
|
473
|
+
textStyle={{ color: theme.colors.textSecondary, fontSize: 16 }}
|
|
474
|
+
/>
|
|
475
|
+
</View>
|
|
488
476
|
)}
|
|
489
477
|
|
|
490
478
|
{!hideCities && (
|