|
|
@ -1,5 +1,5 @@ |
|
|
|
import React, { useContext, useEffect, useState } from "react"; |
|
|
|
import { StyleSheet, View, ScrollView } from "react-native"; |
|
|
|
import { StyleSheet, View, ScrollView, PixelRatio } from "react-native"; |
|
|
|
import * as Yup from "yup"; |
|
|
|
|
|
|
|
import { Form, SubmitButton, FormField } from "../components/forms"; |
|
|
@ -40,7 +40,7 @@ function RainSharingDataScreen(props) { |
|
|
|
}, []); |
|
|
|
|
|
|
|
const location = context.eventCoordinates; |
|
|
|
const address = context.eventLocation; |
|
|
|
const address = context.eventLocation; |
|
|
|
|
|
|
|
return ( |
|
|
|
<Screen style={styles.container}> |
|
|
@ -60,7 +60,7 @@ function RainSharingDataScreen(props) { |
|
|
|
duration: 1950, |
|
|
|
icon: "success", |
|
|
|
type: "success", |
|
|
|
onPress: () => {}, |
|
|
|
onPress: () => { }, |
|
|
|
}); |
|
|
|
props.navigation.navigate("Home"); |
|
|
|
}} |
|
|
@ -131,9 +131,9 @@ function RainSharingDataScreen(props) { |
|
|
|
<View |
|
|
|
style={{ |
|
|
|
flex: 1, |
|
|
|
flexDirection: "row", |
|
|
|
flexDirection: (PixelRatio.get()>3 || PixelRatio.getFontScale() > 1.14 ? "column" : "row"), |
|
|
|
justifyContent: "space-between", |
|
|
|
alignContent:"flex-start", |
|
|
|
alignContent: "flex-start", |
|
|
|
}} |
|
|
|
> |
|
|
|
{/*Data da coleta:*/} |
|
|
|