|
|
@@ -96,26 +96,22 @@ export default class SearchTool extends Component {
|
|
|
{$t('home.search')}
|
|
|
</Text>
|
|
|
</Pressable>
|
|
|
- { this.props.mapReady &&
|
|
|
- <BackButton
|
|
|
- style={styles.mapIcon}
|
|
|
- onPress={() => this.showFilter()}>
|
|
|
- <FontAwesome
|
|
|
- name='filter'
|
|
|
- size={26}
|
|
|
- color={colorPrimary}/>
|
|
|
- </BackButton>
|
|
|
- }
|
|
|
- { this.props.mapReady &&
|
|
|
- <BackButton
|
|
|
- style={styles.mapIcon}
|
|
|
- onPress={() => this.props.onLocation()}>
|
|
|
- <MaterialIcons
|
|
|
- name='my-location'
|
|
|
- size={26}
|
|
|
- color={colorPrimary}/>
|
|
|
- </BackButton>
|
|
|
- }
|
|
|
+ <BackButton
|
|
|
+ style={styles.mapIcon}
|
|
|
+ onPress={() => this.showFilter()}>
|
|
|
+ <FontAwesome
|
|
|
+ name='filter'
|
|
|
+ size={26}
|
|
|
+ color={colorPrimary}/>
|
|
|
+ </BackButton>
|
|
|
+ <BackButton
|
|
|
+ style={styles.mapIcon}
|
|
|
+ onPress={() => this.props.onLocation()}>
|
|
|
+ <MaterialIcons
|
|
|
+ name='my-location'
|
|
|
+ size={26}
|
|
|
+ color={colorPrimary}/>
|
|
|
+ </BackButton>
|
|
|
{/* <View style={styles.mapToolView}>
|
|
|
<TouchableOpacity
|
|
|
style={styles.mapIcon}
|