sidemenu icons unify;

This commit is contained in:
feruz 2019-12-11 12:30:18 +02:00
parent c0b0f7a8fb
commit 375cc2fd88
3 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ class SideMenuContainer extends Component {
accounts.push({ accounts.push({
name: 'Add Account', name: 'Add Account',
route: ROUTES.SCREENS.LOGIN, route: ROUTES.SCREENS.LOGIN,
icon: 'add', icon: 'account-plus-outline',
id: 'add_account', id: 'add_account',
}); });
this.setState({ accounts }); this.setState({ accounts });

View File

@ -144,7 +144,7 @@ class SideMenuView extends Component {
<View style={styles.itemWrapper}> <View style={styles.itemWrapper}>
{item.item.icon && ( {item.item.icon && (
<Icon <Icon
iconType="MaterialIcons" iconType="MaterialCommunityIcons"
style={styles.listItemIcon} style={styles.listItemIcon}
name={item.item.icon} name={item.item.icon}
/> />

View File

@ -4,19 +4,19 @@ const authMenuItems = [
{ {
name: 'Profile', name: 'Profile',
route: ROUTES.TABBAR.PROFILE, route: ROUTES.TABBAR.PROFILE,
icon: 'perm-identity', icon: 'account-outline',
id: 'profile', id: 'profile',
}, },
{ {
name: 'Bookmarks', name: 'Bookmarks',
route: ROUTES.SCREENS.BOOKMARKS, route: ROUTES.SCREENS.BOOKMARKS,
icon: 'star-border', icon: 'star-outline',
id: 'bookmarks', id: 'bookmarks',
}, },
{ {
name: 'Drafts', name: 'Drafts',
route: ROUTES.SCREENS.DRAFTS, route: ROUTES.SCREENS.DRAFTS,
icon: 'insert-drive-file', icon: 'file-document-edit-outline',
id: 'drafts', id: 'drafts',
}, },
// { // {
@ -28,13 +28,13 @@ const authMenuItems = [
{ {
name: 'Settings', name: 'Settings',
route: ROUTES.SCREENS.SETTINGS, route: ROUTES.SCREENS.SETTINGS,
icon: 'settings', icon: 'settings-outline',
id: 'settings', id: 'settings',
}, },
{ {
name: 'Logout', name: 'Logout',
route: '', route: '',
icon: 'power-settings-new', icon: 'power-standby',
id: 'logout', id: 'logout',
}, },
]; ];
@ -43,13 +43,13 @@ const noAuthMenuItems = [
{ {
name: 'Add Account', name: 'Add Account',
route: ROUTES.SCREENS.LOGIN, route: ROUTES.SCREENS.LOGIN,
icon: 'add', icon: 'account-plus-outline',
id: 'add_account', id: 'add_account',
}, },
{ {
name: 'Settings', name: 'Settings',
route: ROUTES.SCREENS.SETTINGS, route: ROUTES.SCREENS.SETTINGS,
icon: 'settings', icon: 'settings-outline',
id: 'settings', id: 'settings',
}, },
]; ];