diff --git a/src/app/components/NoGPSError.js b/src/app/components/NoGPSError.js
new file mode 100644
index 0000000..94ebb48
--- /dev/null
+++ b/src/app/components/NoGPSError.js
@@ -0,0 +1,47 @@
+import React from "react";
+import { StyleSheet, Text, View } from "react-native";
+import { MaterialCommunityIcons } from "@expo/vector-icons";
+import colors from "../config/colors";
+import { dimensions } from "../config/dimensions";
+
+export default function NoGPSError() {
+ return (
+
+
+
+
+ Ops, algo deu errado...
+
+ Não foi possível definir a sua localização. Ative o GPS e tente novamente.
+
+
+ );
+}
+
+const styles = StyleSheet.create({
+ containter: {
+ flex: 1,
+ justifyContent: "center",
+ padding: 10,
+ },
+ icon:{
+ alignSelf:"center",
+ },
+ txtHeader: {
+ color: colors.primary,
+ fontSize: dimensions.text.header,
+ fontWeight: "bold",
+ textAlign: "center",
+ paddingBottom: 20,
+ },
+ txtStyle: {
+ fontSize: dimensions.text.secondary,
+ fontWeight: "bold",
+ textAlign: "center",
+ },
+});
diff --git a/src/app/components/PickEventDateLocation.js b/src/app/components/PickEventDateLocation.js
index 004738f..6840e96 100644
--- a/src/app/components/PickEventDateLocation.js
+++ b/src/app/components/PickEventDateLocation.js
@@ -19,7 +19,7 @@ export default function PickEventDateLocation({
):(
-
- Apresentar um erro no futuro
-
+
)
);
}
diff --git a/src/app/screens/PluviometerRegisterScreen.js b/src/app/screens/PluviometerRegisterScreen.js
index 3cf5e45..b675665 100644
--- a/src/app/screens/PluviometerRegisterScreen.js
+++ b/src/app/screens/PluviometerRegisterScreen.js
@@ -36,7 +36,7 @@ function Institution({ user }) {
-
+
Nome da instituição:
@@ -69,7 +69,7 @@ function LocationPicker({
{pluviometer && (
-
+
{pluviometer.address
? pluviometer.address
@@ -130,7 +130,7 @@ function PluvDateTimePicker({
pluviometer,
}) {
return (
-
+
{!pluviometer && (
-
{pluviometer.regiterDate
? pluviometer.regiterDate
: "Erro ao carregar a data"}
-
)}
@@ -265,7 +263,7 @@ function PluviometerRegisterScreen(props) {
Endereço do pluviômetro*:
-
+
-
+ {/* */}
Selecione o nível da chuva
)}
-
+ {/* */}
Selecione o nível do rio
)}
-
+ {/* */}
Selecione uma opção
)}
-
+ {/* */}