|
@@ -39,6 +39,7 @@ import SeriesSelector from './SeriesSelector';
|
|
import SearchIcon from 'assets/icons/search.svg';
|
|
import SearchIcon from 'assets/icons/search.svg';
|
|
import InfoIcon from 'assets/icons/info-solid.svg';
|
|
import InfoIcon from 'assets/icons/info-solid.svg';
|
|
import Tooltip from 'react-native-walkthrough-tooltip';
|
|
import Tooltip from 'react-native-walkthrough-tooltip';
|
|
|
|
+import { GooglePlacesAutocompleteDefaultProps } from './GooglePlacesAutocompleteProps';
|
|
|
|
|
|
interface Series {
|
|
interface Series {
|
|
id: number;
|
|
id: number;
|
|
@@ -190,6 +191,7 @@ const SuggestSeriesScreen = ({ navigation }: { navigation: any }) => {
|
|
style={{
|
|
style={{
|
|
height: '100%'
|
|
height: '100%'
|
|
}}
|
|
}}
|
|
|
|
+ edges={['top']}
|
|
>
|
|
>
|
|
<View style={styles.wrapper}>
|
|
<View style={styles.wrapper}>
|
|
<Header
|
|
<Header
|
|
@@ -225,6 +227,7 @@ const SuggestSeriesScreen = ({ navigation }: { navigation: any }) => {
|
|
/>
|
|
/>
|
|
<View style={styles.searchContainer}>
|
|
<View style={styles.searchContainer}>
|
|
<GooglePlacesAutocomplete
|
|
<GooglePlacesAutocomplete
|
|
|
|
+ {...GooglePlacesAutocompleteDefaultProps}
|
|
placeholder="Add a landmark"
|
|
placeholder="Add a landmark"
|
|
onPress={handlePlaceSelection}
|
|
onPress={handlePlaceSelection}
|
|
query={{
|
|
query={{
|
|
@@ -414,7 +417,6 @@ const SuggestSeriesScreen = ({ navigation }: { navigation: any }) => {
|
|
itemVisiblePercentThreshold: 50,
|
|
itemVisiblePercentThreshold: 50,
|
|
minimumViewTime: 1000
|
|
minimumViewTime: 1000
|
|
}}
|
|
}}
|
|
- estimatedItemSize={40}
|
|
|
|
data={groupedSeries}
|
|
data={groupedSeries}
|
|
renderItem={renderGroup}
|
|
renderItem={renderGroup}
|
|
keyExtractor={(item) => item.title}
|
|
keyExtractor={(item) => item.title}
|