mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-12 13:05:41 +03:00
Remove unused codes
This commit is contained in:
parent
ada2b5cdb9
commit
a21fec36c4
@ -41,12 +41,6 @@ class SideMenuContainer extends Component {
|
||||
isCurrentAccount: element.username === currentAccount.name,
|
||||
});
|
||||
});
|
||||
// accounts.push({
|
||||
// name: 'Add Account',
|
||||
// route: ROUTES.SCREENS.LOGIN,
|
||||
// icon: 'user-follow',
|
||||
// id: 'add_account',
|
||||
// });
|
||||
this.setState({ accounts });
|
||||
};
|
||||
|
||||
|
@ -62,16 +62,6 @@ const SideMenuView = ({
|
||||
}, []);
|
||||
|
||||
// Component Functions
|
||||
|
||||
const _handleOnPressAddAccountIcon = () => {
|
||||
// if (!isAddAccountIconActive) {
|
||||
// setMenuItems(accounts);
|
||||
// } else {
|
||||
// setMenuItems(isLoggedIn ? MENU.AUTH_MENU_ITEMS : MENU.NO_AUTH_MENU_ITEMS);
|
||||
// }
|
||||
// setIsAddAccountIconActive(!isAddAccountIconActive);
|
||||
};
|
||||
|
||||
const _handleOnMenuItemPress = (item) => {
|
||||
if (item.id === 'logout') {
|
||||
ActionSheetRef.current.show();
|
||||
|
Loading…
Reference in New Issue
Block a user