Browse Source

Changing text in sharing pluviometer data screen datepicker

master
GabrielTrettel 3 years ago
parent
commit
9e5d83de5f
  1. 2
      src/app/components/PickEventDateLocation.js
  2. 1
      src/app/screens/PluviometerSharingDataScreen.js

2
src/app/components/PickEventDateLocation.js

@ -13,6 +13,7 @@ export default function PickEventDateLocation({
time = undefined, time = undefined,
navigation = () => {}, navigation = () => {},
location = true, location = true,
...props
}) { }) {
return ( return (
<View <View
@ -34,6 +35,7 @@ export default function PickEventDateLocation({
date={date} date={date}
onTimeChange={(value) => setTime(value)} onTimeChange={(value) => setTime(value)}
time={time} time={time}
{...props}
/> />
{/* </View> */} {/* </View> */}
{location && ( {location && (

1
src/app/screens/PluviometerSharingDataScreen.js

@ -115,6 +115,7 @@ function PluviometerSharingDataScreen(props) {
setTime={setTime} setTime={setTime}
navigation={props.navigation} navigation={props.navigation}
location={false} location={false}
subtitle={"Defina a data da coleta"}
/> />
<Text style={styles.labelStyle}>Comentário:</Text> <Text style={styles.labelStyle}>Comentário:</Text>

Loading…
Cancel
Save