diff --git a/src/app/components/Button.js b/src/app/components/Button.js
index d4a9ced..04b87e0 100644
--- a/src/app/components/Button.js
+++ b/src/app/components/Button.js
@@ -3,7 +3,7 @@ import { StyleSheet, Text, TouchableOpacity } from "react-native";
import colors from "../config/colors";
-function AppButton({ title, onPress, color = "primary" }) {
+function AppButton({ title, onPress, color = "lightBlue" }) {
return (
- Imagens:
{
context.defaultLocation();
}, []);
const location = context.eventCoordinates;
- const address = context.eventLocation;
+ const address = context.eventLocation;
const [dateTime, setDateTime] = useState(moment());
const [time, setTime] = useState(moment());
@@ -51,6 +54,7 @@ function PluviometerSharingDataScreen(props) {
initialValues={{
pluviometer: "",
images: [],
+ description: "",
}}
onSubmit={(values) => {
insertPluviometerData({ ...values, dateTime, time, location, address });
@@ -85,7 +89,7 @@ function PluviometerSharingDataScreen(props) {
flex: 1,
flexDirection: "row",
justifyContent: "space-between",
- alignContent:"flex-start",
+ alignContent: "flex-start",
}}
>
{/*Data da coleta:*/}
@@ -115,7 +119,15 @@ function PluviometerSharingDataScreen(props) {
-
+
+
+
@@ -139,7 +151,7 @@ const styles = StyleSheet.create({
fontSize: dimensions.text.secondary,
fontWeight: "bold",
textAlign: "left",
- color: colors.primary,
+ color: colors.lightBlue,
marginBottom: 5,
},
});