|
@ -1,5 +1,5 @@ |
|
|
import React from "react"; |
|
|
import React from "react"; |
|
|
import { StyleSheet, Text, View } from "react-native"; |
|
|
|
|
|
|
|
|
import { StyleSheet, Text, View, PixelRatio } from "react-native"; |
|
|
|
|
|
|
|
|
import { MaterialIcons } from "@expo/vector-icons"; |
|
|
import { MaterialIcons } from "@expo/vector-icons"; |
|
|
import colors from "../../config/colors"; |
|
|
import colors from "../../config/colors"; |
|
@ -8,7 +8,9 @@ import EventLocationInput from "../EventLocationInput"; |
|
|
function FormLocationPicker() { |
|
|
function FormLocationPicker() { |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<View style={{ width:"100%", paddingLeft: 15 }}> |
|
|
|
|
|
|
|
|
<View style={{ width:"100%", |
|
|
|
|
|
paddingLeft: (PixelRatio.get() >3 || PixelRatio.getFontScale() > 1.14 ? 0 : 15), |
|
|
|
|
|
marginTop: (PixelRatio.get()>3 || PixelRatio.getFontScale() > 1.14 ? 10 : 0)}}> |
|
|
<View style={styles.location}> |
|
|
<View style={styles.location}> |
|
|
<View style={styles.mapIcon}> |
|
|
<View style={styles.mapIcon}> |
|
|
<MaterialIcons |
|
|
<MaterialIcons |
|
@ -51,7 +53,7 @@ const styles = StyleSheet.create({ |
|
|
backgroundColor: colors.primary, |
|
|
backgroundColor: colors.primary, |
|
|
padding: 8, |
|
|
padding: 8, |
|
|
width: 20, |
|
|
width: 20, |
|
|
alignItems: "flex-start", |
|
|
|
|
|
|
|
|
alignItems: "center", |
|
|
borderRadius: 5, |
|
|
borderRadius: 5, |
|
|
flex: 0.20, |
|
|
flex: 0.20, |
|
|
}, |
|
|
}, |
|
|