From 9e5d83de5fcc2c221af56e395a30c8e9338bf3c3 Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Fri, 12 Nov 2021 19:13:38 -0300 Subject: [PATCH] Changing text in sharing pluviometer data screen datepicker --- src/app/components/PickEventDateLocation.js | 2 ++ src/app/screens/PluviometerSharingDataScreen.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/app/components/PickEventDateLocation.js b/src/app/components/PickEventDateLocation.js index dfaac9f..004738f 100644 --- a/src/app/components/PickEventDateLocation.js +++ b/src/app/components/PickEventDateLocation.js @@ -13,6 +13,7 @@ export default function PickEventDateLocation({ time = undefined, navigation = () => {}, location = true, + ...props }) { return ( setTime(value)} time={time} + {...props} /> {/* */} {location && ( diff --git a/src/app/screens/PluviometerSharingDataScreen.js b/src/app/screens/PluviometerSharingDataScreen.js index 27249e1..f3be0c1 100644 --- a/src/app/screens/PluviometerSharingDataScreen.js +++ b/src/app/screens/PluviometerSharingDataScreen.js @@ -115,6 +115,7 @@ function PluviometerSharingDataScreen(props) { setTime={setTime} navigation={props.navigation} location={false} + subtitle={"Defina a data da coleta"} /> Comentário: