Skip to content

Commit

Permalink
Merge pull request #402 from raschdiaz/sprint-24
Browse files Browse the repository at this point in the history
 Resolves #362
  • Loading branch information
zdmc23 authored Aug 6, 2020
2 parents 4f504c7 + 57afb36 commit d6923ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions screens/Contact/ContactDetailScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4136,9 +4136,10 @@ class ContactDetailScreen extends React.Component {
});

tabChanged = (index) => {
this.props.navigation.setParams({
// Hide tabBar when tab its in 'comments' section
/*this.props.navigation.setParams({
hideTabBar: (index === 2 && this.state.onlyView) || !this.state.onlyView,
});
});*/
this.setState((prevState) => ({
tabViewConfig: {
...prevState.tabViewConfig,
Expand Down
5 changes: 3 additions & 2 deletions screens/Group/GroupDetailScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -1795,9 +1795,10 @@ class GroupDetailScreen extends React.Component {
};

tabChanged = (index) => {
this.props.navigation.setParams({
// Hide tabBar when tab its in 'comments' section
/*this.props.navigation.setParams({
hideTabBar: (index === 2 && this.state.onlyView) || !this.state.onlyView,
});
});*/
this.setState((prevState) => ({
tabViewConfig: {
...prevState.tabViewConfig,
Expand Down

0 comments on commit d6923ca

Please sign in to comment.