Finish update profile view
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { View } from "react-native";
|
||||
import { View, ImageBackground } from "react-native";
|
||||
import { Text, List, RadioButton } from "react-native-paper";
|
||||
import i18n from "../i18nMessages.js";
|
||||
import Moment from 'moment';
|
||||
@@ -18,12 +18,17 @@ let MenuView = ({navigation})=>{
|
||||
|
||||
return (
|
||||
<View>
|
||||
<ImageBackground source={require("../assets/settings.png")}
|
||||
style={{paddingTop:10}}
|
||||
imageStyle={{resizeMode:"contain", opacity: 0.05}}
|
||||
>
|
||||
<List.Section title="User Actions">
|
||||
<List.Item title="Profile" onPress={()=>{navigation.navigate("ProfileSettings")}} left={props => <List.Icon {...props} icon="person" />} />
|
||||
<List.Item title="Settings" left={props => <List.Icon {...props} icon="settings" />} />
|
||||
<List.Item title="Sign out" left={props => <List.Icon {...props} icon="logout" />} />
|
||||
</List.Section>
|
||||
<List.Section title="Fellowship App">
|
||||
<List.Item title="Invite" onPress={()=>{navigation.navigate("Invite")}} left={props => <List.Icon {...props} icon="person-add" />} />
|
||||
<List.Item title="About" left={props => <List.Icon {...props} icon="more" />} />
|
||||
</List.Section>
|
||||
<View style={{padding: 10}}>
|
||||
@@ -33,6 +38,7 @@ let MenuView = ({navigation})=>{
|
||||
<RadioButton.Item value="en" label="English"/>
|
||||
</RadioButton.Group>
|
||||
</View>
|
||||
</ImageBackground>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user