|
@ -19,9 +19,7 @@ import Screen from "../components/Screen"; |
|
|
import useLocation from "../hooks/useLocation"; |
|
|
import useLocation from "../hooks/useLocation"; |
|
|
import FormImagePicker from "../components/forms/FormImagePicker"; |
|
|
import FormImagePicker from "../components/forms/FormImagePicker"; |
|
|
import { insertPluviometerData } from "../database/databaseLoader"; |
|
|
import { insertPluviometerData } from "../database/databaseLoader"; |
|
|
import { FontAwesome5 } from "@expo/vector-icons"; |
|
|
|
|
|
import { showMessage } from "react-native-flash-message"; |
|
|
import { showMessage } from "react-native-flash-message"; |
|
|
import colors from "../config/colors"; |
|
|
|
|
|
import { scaleDimsFromWidth } from "../config/dimensions"; |
|
|
import { scaleDimsFromWidth } from "../config/dimensions"; |
|
|
import FormDatePicker from "../components/forms/FormDatePicker"; |
|
|
import FormDatePicker from "../components/forms/FormDatePicker"; |
|
|
|
|
|
|
|
@ -83,7 +81,7 @@ function PluviometerSharingDataScreen(props) { |
|
|
/> |
|
|
/> |
|
|
</View> |
|
|
</View> |
|
|
|
|
|
|
|
|
<View style={{ marginTop: 10 }}> |
|
|
|
|
|
|
|
|
<View style={{ marginTop: 10, flex: 1 }}> |
|
|
<Text style={styles.labelStyle}>Data da coleta:</Text> |
|
|
<Text style={styles.labelStyle}>Data da coleta:</Text> |
|
|
<FormDatePicker |
|
|
<FormDatePicker |
|
|
textStyle={{ |
|
|
textStyle={{ |
|
@ -122,22 +120,6 @@ const styles = StyleSheet.create({ |
|
|
justifyContent: "center", |
|
|
justifyContent: "center", |
|
|
alignItems: "center", |
|
|
alignItems: "center", |
|
|
}, |
|
|
}, |
|
|
datePickerView: { |
|
|
|
|
|
flexDirection: "row", |
|
|
|
|
|
justifyContent: "space-between", |
|
|
|
|
|
paddingVertical: 15, |
|
|
|
|
|
flex: 1, |
|
|
|
|
|
}, |
|
|
|
|
|
datepickerStyle: { |
|
|
|
|
|
borderRadius: 25, |
|
|
|
|
|
backgroundColor: "#f8f4f4", |
|
|
|
|
|
flex: 0.9, |
|
|
|
|
|
flexDirection: "row" |
|
|
|
|
|
}, |
|
|
|
|
|
dateIcon: { |
|
|
|
|
|
marginTop: 25, |
|
|
|
|
|
marginLeft: 15, |
|
|
|
|
|
}, |
|
|
|
|
|
labelStyle: { |
|
|
labelStyle: { |
|
|
fontSize: 16, |
|
|
fontSize: 16, |
|
|
fontWeight: "bold", |
|
|
fontWeight: "bold", |
|
|