diff --git a/src/routes/CreateGroup/CreateGroup.tsx b/src/routes/CreateGroup/CreateGroup.tsx index aee9326..26b30de 100644 --- a/src/routes/CreateGroup/CreateGroup.tsx +++ b/src/routes/CreateGroup/CreateGroup.tsx @@ -24,6 +24,7 @@ import MapView, { UrlTile, Marker } from "react-native-maps"; import { useNavigation } from "@react-navigation/native"; import { useToast } from "react-native-toast-notifications"; import CaretLeftIcon from "../../icons/CaretLeftIcon/CaretLeftIcon"; +import AnimatedContainer from "../../components/AnimatedContainer/AnimatedContainer"; export default function CreateGroup({ route }: any) { const { location, subject } = route.params; @@ -100,7 +101,7 @@ export default function CreateGroup({ route }: any) { if (location) { return ( - + @@ -183,7 +184,7 @@ export default function CreateGroup({ route }: any) { - + ); } diff --git a/src/routes/Register/Register.tsx b/src/routes/Register/Register.tsx index f9ac188..98a46ce 100644 --- a/src/routes/Register/Register.tsx +++ b/src/routes/Register/Register.tsx @@ -17,6 +17,7 @@ import { UserRegister } from "../../components/Api/Api"; import IsNumber from "../../components/IsNumber/IsNumber"; import AnimatedContainer from "../../components/AnimatedContainer/AnimatedContainer"; import { useToast } from "react-native-toast-notifications"; +import { ScrollView } from "react-native-gesture-handler"; export default function Register() { const navigation = useNavigation(); diff --git a/src/styles.tsx b/src/styles.tsx index af0d3fa..71beda4 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -44,8 +44,9 @@ const styles = StyleSheet.create({ justifyContent: "center", display: "flex", flexDirection: "column", - flex: 1, + flexGrow: 1, paddingHorizontal: 4, + paddingVertical: 32, }, flex_row: { display: "flex",