Changin to material icons

This commit is contained in:
aeroreyna
2022-03-07 16:10:43 -08:00
parent b01d437a73
commit 98201c8948
4 changed files with 79 additions and 18 deletions

View File

@@ -5,6 +5,8 @@ import API from './../API.js';
import Post from './../components/Post.js';
import { Provider as PaperProvider } from 'react-native-paper';
import AwesomeIcon from 'react-native-vector-icons/FontAwesome';
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
import NewPost from "./../components/NewPost.js";
@@ -29,11 +31,12 @@ let Feed = ({ navigation, route }) => {
return (
<PaperProvider settings={{
icon: props => <AwesomeIcon {...props} />,
icon: props => <MaterialIcons {...props} />,
}}>
<SafeAreaView style={styles.container}>
<View>
<ScrollView>
<NewPost />
{
Posts.map((post, i) => {
return (
@@ -57,6 +60,7 @@ const styles = StyleSheet.create({
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: "#edf2f7"
backgroundColor: "#edf2f7",
width: "100%"
},
});