Browse Source

changing imports with react-native-gesture-handler to react-native

master
Joselito Lima 1 year ago
parent
commit
1d95288e14
  1. 2
      src/app/components/FloatButton.js
  2. 2
      src/app/components/PickEventDateLocation.js
  3. 2
      src/app/components/forms/CheckBox.js
  4. 2
      src/app/components/forms/FormField.js
  5. 2
      src/app/screens/AccountScreen.js
  6. 2
      src/app/screens/LoginScreen.js
  7. 2
      src/app/screens/MapFormScreen.js
  8. 2
      src/app/screens/PluviometerRegisterScreen.js

2
src/app/components/FloatButton.js

@ -9,7 +9,7 @@ import {
Dimensions, Dimensions,
PixelRatio, PixelRatio,
} from "react-native"; } from "react-native";
import { FlatList } from "react-native-gesture-handler";
import { FlatList } from "react-native";
import colors from "../config/colors"; import colors from "../config/colors";
import { MaterialCommunityIcons } from "@expo/vector-icons"; import { MaterialCommunityIcons } from "@expo/vector-icons";

2
src/app/components/PickEventDateLocation.js

@ -2,7 +2,7 @@ import React from "react";
import { View } from "react-native"; import { View } from "react-native";
import colors from "../config/colors"; import colors from "../config/colors";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import FormDatePicker from "../components/forms/FormDatePicker"; import FormDatePicker from "../components/forms/FormDatePicker";
import FormLocationPicker from "../components/forms/FormLocationPicker"; import FormLocationPicker from "../components/forms/FormLocationPicker";

2
src/app/components/forms/CheckBox.js

@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import { View, Text } from "react-native"; import { View, Text } from "react-native";
import { useFormikContext } from "formik"; import { useFormikContext } from "formik";
import colors from "../../config/colors"; import colors from "../../config/colors";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import ErrorMessage from "./ErrorMessage"; import ErrorMessage from "./ErrorMessage";
import { dimensions } from "../../config/dimensions"; import { dimensions } from "../../config/dimensions";
import CustomCheckBox from "../CustomCheckBox"; import CustomCheckBox from "../CustomCheckBox";

2
src/app/components/forms/FormField.js

@ -4,7 +4,7 @@ import { useFormikContext } from "formik";
import TextInput from "../TextInput"; import TextInput from "../TextInput";
import ErrorMessage from "./ErrorMessage"; import ErrorMessage from "./ErrorMessage";
import { View, Text } from "react-native"; import { View, Text } from "react-native";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import colors from "../../config/colors"; import colors from "../../config/colors";
import defaultStyles from "../../config/styles"; import defaultStyles from "../../config/styles";

2
src/app/screens/AccountScreen.js

@ -3,7 +3,7 @@ import { Text, View, StyleSheet, ScrollView } from "react-native";
import Screen from "../components/Screen"; import Screen from "../components/Screen";
import { AuthContext } from "../auth/context"; import { AuthContext } from "../auth/context";
import authStorage from "../auth/storage"; import authStorage from "../auth/storage";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import assets from "../config/assets"; import assets from "../config/assets";
import { MaterialCommunityIcons } from "@expo/vector-icons"; import { MaterialCommunityIcons } from "@expo/vector-icons";
import colors from "../config/colors"; import colors from "../config/colors";

2
src/app/screens/LoginScreen.js

@ -15,7 +15,7 @@ import { AuthContext } from "../auth/context";
import authStorage from "../auth/storage"; import authStorage from "../auth/storage";
import assets from "../config/assets"; import assets from "../config/assets";
import Button from "../components/Button"; import Button from "../components/Button";
import { TouchableNativeFeedback } from "react-native-gesture-handler";
import { TouchableNativeFeedback } from "react-native";
import { login, userPersonalData } from "../api/auth"; import { login, userPersonalData } from "../api/auth";
import PasswordFormField from "../components/forms/PasswordFormField"; import PasswordFormField from "../components/forms/PasswordFormField";
import ConfirmationModal from "../components/ConfirmationModal"; import ConfirmationModal from "../components/ConfirmationModal";

2
src/app/screens/MapFormScreen.js

@ -5,7 +5,7 @@ import * as Location from "expo-location";
import colors from "../config/colors"; import colors from "../config/colors";
import { EventLocationContext } from "../context/EventLocationContext"; import { EventLocationContext } from "../context/EventLocationContext";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import OpenStreetMap from "../components/map/OpenStreetMap"; import OpenStreetMap from "../components/map/OpenStreetMap";
// NOTE: Implementação posterior: É interessante adcionar um searchBox para que o usuário busque um endereço (google places autocomplete é uma api paga) // NOTE: Implementação posterior: É interessante adcionar um searchBox para que o usuário busque um endereço (google places autocomplete é uma api paga)

2
src/app/screens/PluviometerRegisterScreen.js

@ -6,7 +6,7 @@ import { dimensions } from "../config/dimensions";
import FormDatePicker from "../components/forms/FormDatePicker"; import FormDatePicker from "../components/forms/FormDatePicker";
import colors from "../config/colors/"; import colors from "../config/colors/";
import moment from "moment"; import moment from "moment";
import { TouchableOpacity } from "react-native-gesture-handler";
import { TouchableOpacity } from "react-native";
import { FontAwesome5 } from "@expo/vector-icons"; import { FontAwesome5 } from "@expo/vector-icons";
import { MaterialCommunityIcons } from "@expo/vector-icons"; import { MaterialCommunityIcons } from "@expo/vector-icons";
import { AuthContext } from "../auth/context"; import { AuthContext } from "../auth/context";

Loading…
Cancel
Save