Commit 17764246 by Giang Tran

update icon

parent cf80a431
...@@ -69,6 +69,22 @@ const images = { ...@@ -69,6 +69,22 @@ const images = {
bg_cannot_connect: require('./images/bg_cannot_connect.png'), bg_cannot_connect: require('./images/bg_cannot_connect.png'),
iconDown: require('./images/iconDown.png'), iconDown: require('./images/iconDown.png'),
iconUp: require('./images/iconUp.png'), iconUp: require('./images/iconUp.png'),
iconProfile: require('./images/iconProfile.png'),
iconSupport: require('./images/iconSupport.png'),
iconGroup: require('./images/iconGroup.png'),
iconContractMenu: require('./images/iconContractMenu.png'),
iconDepositMenu: require('./images/iconDepositMenu.png'),
iconWithdrawMenu: require('./images/iconWithdrawMenu.png'),
iconRoseMenu: require('./images/iconRoseMenu.png'),
iconTransaction: require('./images/iconTransaction.png'),
iconChartMenu: require('./images/iconChartMenu.png'),
iconHistoryMenu: require('./images/iconHistoryMenu1.png'),
iconProfileMenu: require('./images/iconProfileMenu.png'),
}; };
export default images; export default images;
...@@ -39,14 +39,14 @@ const menus = [ ...@@ -39,14 +39,14 @@ const menus = [
{ {
id: '1', id: '1',
title: 'Profile', title: 'Profile',
icon: R.images.iconUserCheck, icon: R.images.iconProfile,
screen: AccountVerification, screen: AccountVerification,
active: false, active: false,
children: [ children: [
{ {
id: '11', id: '11',
title: 'MyProfile', title: 'MyProfile',
icon: R.images.iconUserCheck, icon: R.images.iconProfileMenu,
screen: PROFILE, screen: PROFILE,
}, },
{ {
...@@ -58,19 +58,19 @@ const menus = [ ...@@ -58,19 +58,19 @@ const menus = [
{ {
id: '15', id: '15',
title: 'MyPartner', title: 'MyPartner',
icon: R.images.iconUserCheck, icon: R.images.iconGroup,
screen: MYGROUP, screen: MYGROUP,
}, },
{ {
id: '13', id: '13',
title: 'Payments', title: 'Payments',
icon: R.images.iconUserCheck, icon: R.images.iconContract,
screen: PAYMENTS, screen: PAYMENTS,
}, },
{ {
id: '14', id: '14',
title: 'Contract', title: 'Contract',
icon: R.images.iconUserCheck, icon: R.images.iconContractMenu,
screen: CONTRACT, screen: CONTRACT,
}, },
], ],
...@@ -78,32 +78,32 @@ const menus = [ ...@@ -78,32 +78,32 @@ const menus = [
{ {
id: '6', id: '6',
title: 'Finance', title: 'Finance',
icon: R.images.iconContract, icon: R.images.iconChartMenu,
screen: CONTRACT, screen: CONTRACT,
active: false, active: false,
children: [ children: [
{ {
id: '61', id: '61',
title: 'Deposit', title: 'Deposit',
icon: R.images.iconUserCheck, icon: R.images.iconDepositMenu,
screen: CHOOSEMETHOD, screen: CHOOSEMETHOD,
}, },
{ {
id: '62', id: '62',
title: 'Withdraw', title: 'Withdraw',
icon: R.images.iconUserCheck, icon: R.images.iconWithdrawMenu,
screen: WITHDRAW, screen: WITHDRAW,
}, },
{ {
id: '63', id: '63',
title: 'Rose', title: 'Rose',
icon: R.images.iconUserCheck, icon: R.images.iconRoseMenu,
screen: ROSE, screen: ROSE,
}, },
{ {
id: '64', id: '64',
title: 'History', title: 'History',
icon: R.images.iconUserCheck, icon: R.images.iconHistoryMenu,
screen: HISTORY, screen: HISTORY,
}, },
], ],
...@@ -111,7 +111,7 @@ const menus = [ ...@@ -111,7 +111,7 @@ const menus = [
{ {
id: '8', id: '8',
title: 'Support', title: 'Support',
icon: R.images.iconContract, icon: R.images.iconSupport,
screen: CONTRACT, screen: CONTRACT,
active: false, active: false,
children: [ children: [
...@@ -124,13 +124,13 @@ const menus = [ ...@@ -124,13 +124,13 @@ const menus = [
{ {
id: '82', id: '82',
title: 'Feedback', title: 'Feedback',
icon: R.images.iconUserCheck, icon: R.images.iconMess,
screen: FEEDBACK, screen: FEEDBACK,
}, },
{ {
id: '83', id: '83',
title: 'LegalDocument', title: 'LegalDocument',
icon: R.images.iconUserCheck, icon: R.images.iconPaper,
screen: LEGALDOCUMENT, screen: LEGALDOCUMENT,
}, },
], ],
...@@ -179,7 +179,7 @@ const Drawer = (props) => { ...@@ -179,7 +179,7 @@ const Drawer = (props) => {
</View> </View>
<ScrollView showsVerticalScrollIndicator={false} style={styles.body}> <ScrollView showsVerticalScrollIndicator={false} style={styles.body}>
{listMenu.map((e) => ( {listMenu.map((e) => (
<View> <View key={e.id}>
<TouchableOpacity <TouchableOpacity
onPress={() => { onPress={() => {
if (e.children) { if (e.children) {
......
...@@ -3,6 +3,7 @@ import {View, Text} from 'react-native'; ...@@ -3,6 +3,7 @@ import {View, Text} from 'react-native';
import {createBottomTabNavigator} from '@react-navigation/bottom-tabs'; import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';
import Icon from 'react-native-vector-icons/FontAwesome5'; import Icon from 'react-native-vector-icons/FontAwesome5';
import Ionicons from 'react-native-vector-icons/Ionicons'; import Ionicons from 'react-native-vector-icons/Ionicons';
import FontAwesome from 'react-native-vector-icons/FontAwesome';
import Home from '../Screens/Home/Home'; import Home from '../Screens/Home/Home';
import {connect} from 'react-redux'; import {connect} from 'react-redux';
...@@ -86,7 +87,7 @@ const TabNavigator = (props) => { ...@@ -86,7 +87,7 @@ const TabNavigator = (props) => {
options={{ options={{
tabBarLabel: I18n.t('Tradding'), tabBarLabel: I18n.t('Tradding'),
tabBarIcon: ({color, size}) => ( tabBarIcon: ({color, size}) => (
<Icon name="user-tie" size={size} color={color} /> <FontAwesome name="line-chart" size={size} color={color} />
), ),
}} }}
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment