diff --git a/src/app/screens/AccountScreen.js b/src/app/screens/AccountScreen.js index 9d919bd..77d35af 100644 --- a/src/app/screens/AccountScreen.js +++ b/src/app/screens/AccountScreen.js @@ -1,25 +1,17 @@ import React from "react"; -import { StyleSheet, View } from "react-native"; +import { StyleSheet, View, Text } from "react-native"; -import { ListItem } from "../components/lists"; import colors from "../config/colors"; -import Icon from "../components/Icon"; import Screen from "../components/Screen"; +import { AntDesign } from '@expo/vector-icons'; function AccountScreen({ navigation }) { return ( - - - } - /> + + Em construção... + ); } @@ -29,7 +21,11 @@ const styles = StyleSheet.create({ backgroundColor: colors.light, }, container: { - marginVertical: 20, + flex: 1, + flexDirection: "column", + alignItems:"center", + justifyContent: "flex-start" + }, }); diff --git a/src/app/screens/MessagesScreen.js b/src/app/screens/MessagesScreen.js index a43c1bf..9ffd65b 100644 --- a/src/app/screens/MessagesScreen.js +++ b/src/app/screens/MessagesScreen.js @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { FlatList, StyleSheet } from "react-native"; +import { FlatList, StyleSheet, View, Text } from "react-native"; import Screen from "../components/Screen"; import { @@ -8,7 +8,10 @@ import { ListItemSeparator, } from "../components/lists"; -const initialMessages = [ +import colors from "../config/colors"; +import { AntDesign } from '@expo/vector-icons'; + +/*const initialMessages = [ { id: 1, title: "Defesa Civil", @@ -22,18 +25,18 @@ const initialMessages = [ "Enviado um aviso de alagamento na região de Pinheiros. Há possibilidade de alagamentos. Evite a região.", image: require("../assets/defesa_civil.png"), }, -]; +];*/ function MessagesScreen(props) { - const [messages, setMessages] = useState(initialMessages); + /*const [messages, setMessages] = useState(initialMessages); const [refreshing, setRefreshing] = useState(false); const handleDelete = (message) => { setMessages(messages.filter((m) => m.id !== message.id)); - }; + }; */ return ( - + {/* message.id.toString()} @@ -61,10 +64,27 @@ function MessagesScreen(props) { ]); }} /> + */}, + + + + Em construção... + ); } -const styles = StyleSheet.create({}); +const styles = StyleSheet.create({ + screen: { + backgroundColor: colors.light, + }, + container: { + flex: 1, + flexDirection: "column", + alignItems: "center", + justifyContent: "flex-start" + + }, +}); export default MessagesScreen; diff --git a/src/app/screens/OfficialMessagesScreen.js b/src/app/screens/OfficialMessagesScreen.js index 0a0541c..83132a8 100644 --- a/src/app/screens/OfficialMessagesScreen.js +++ b/src/app/screens/OfficialMessagesScreen.js @@ -1,28 +1,31 @@ import React from "react"; -import { Image, StyleSheet, View } from "react-native"; +import { StyleSheet, View, Text } from "react-native"; import colors from "../config/colors"; +import Screen from "../components/Screen"; +import { AntDesign } from '@expo/vector-icons'; function OfficialMessagesScreen(props) { return ( - - - + + + + Em construção... + + ); } const styles = StyleSheet.create({ + screen: { + backgroundColor: colors.light, + }, container: { - backgroundColor: colors.black, flex: 1, - }, - image: { - width: "100%", - height: "100%", + flexDirection: "column", + alignItems: "center", + justifyContent: "flex-start" + }, });