|
@ -6,7 +6,7 @@ import { Form, SubmitButton, FormField } from "../components/forms"; |
|
|
import FormImagePicker from "../components/forms/FormImagePicker"; |
|
|
import FormImagePicker from "../components/forms/FormImagePicker"; |
|
|
import useLocation from "../hooks/useLocation"; |
|
|
import useLocation from "../hooks/useLocation"; |
|
|
import colors from "../config/colors"; |
|
|
import colors from "../config/colors"; |
|
|
import { scaleDimsFromWidth } from "../config/dimensions"; |
|
|
|
|
|
|
|
|
import { scaleDimsFromWidth, dimensions } from "../config/dimensions"; |
|
|
import { TouchableNativeFeedback } from "react-native-gesture-handler"; |
|
|
import { TouchableNativeFeedback } from "react-native-gesture-handler"; |
|
|
import { insertFloodZone } from "../database/databaseLoader"; |
|
|
import { insertFloodZone } from "../database/databaseLoader"; |
|
|
import { showMessage } from "react-native-flash-message"; |
|
|
import { showMessage } from "react-native-flash-message"; |
|
@ -33,7 +33,7 @@ function SharingFloodZonesScreen(props) { |
|
|
<Screen style={styles.container}> |
|
|
<Screen style={styles.container}> |
|
|
<Text |
|
|
<Text |
|
|
style={{ |
|
|
style={{ |
|
|
fontSize: 18, |
|
|
|
|
|
|
|
|
fontSize: dimensions.text.header, |
|
|
fontWeight: "bold", |
|
|
fontWeight: "bold", |
|
|
color: colors.primary, |
|
|
color: colors.primary, |
|
|
textAlign: "center", |
|
|
textAlign: "center", |
|
@ -122,11 +122,6 @@ const styles = StyleSheet.create({ |
|
|
backgroundColor: colors.white, |
|
|
backgroundColor: colors.white, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
header: { |
|
|
|
|
|
fontSize: 18, |
|
|
|
|
|
color: colors.primary, |
|
|
|
|
|
fontWeight: "500", |
|
|
|
|
|
}, |
|
|
|
|
|
image: { |
|
|
image: { |
|
|
width: dims.width * 0.9, |
|
|
width: dims.width * 0.9, |
|
|
height: dims.height * 0.9, |
|
|
height: dims.height * 0.9, |
|
@ -147,7 +142,8 @@ const styles = StyleSheet.create({ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
text: { |
|
|
text: { |
|
|
fontSize: 14, |
|
|
|
|
|
|
|
|
paddingTop: 5, |
|
|
|
|
|
fontSize: dimensions.text.default, |
|
|
}, |
|
|
}, |
|
|
error_txt: { |
|
|
error_txt: { |
|
|
fontSize: 18, |
|
|
fontSize: 18, |
|
|