fix focused for your tags and wallet menu items
This commit is contained in:
parent
430fc1a661
commit
1e31d8d22b
1 changed files with 6 additions and 1 deletions
|
@ -49,7 +49,12 @@ class DrawerContent extends React.PureComponent {
|
|||
</Text>
|
||||
)}
|
||||
{menuItems.map(item => {
|
||||
const focused = activeItemKey === item.route;
|
||||
const focused =
|
||||
activeItemKey === item.route ||
|
||||
(activeItemKey === Constants.FULL_ROUTE_NAME_DISCOVER &&
|
||||
item.route === Constants.DRAWER_ROUTE_DISCOVER) ||
|
||||
(activeItemKey === Constants.FULL_ROUTE_NAME_WALLET &&
|
||||
item.route === Constants.DRAWER_ROUTE_WALLET);
|
||||
return (
|
||||
<TouchableOpacity
|
||||
accessible
|
||||
|
|
Loading…
Reference in a new issue