Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
fixed navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
eythoro16 committed Nov 21, 2018
1 parent 3ad8588 commit e7a9c20
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 1 addition & 5 deletions navigation/Routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Front = createStackNavigator({
});

const Story = createStackNavigator({
Front: {
Story: {
screen: StoryScreen,
navigationOptions: {
headerLeft: null,
Expand Down Expand Up @@ -159,13 +159,9 @@ const DashboardTabRoutes = createBottomTabNavigator(
} else if (routeName === 'Later') {
iconName = 'ios-archive';
}

// You can return any component that you like here! For demo we use an
// icon component from react-native-vector-icons
return <Ionicons name={iconName} size={25} color={tintColor} />;
},
tabBarVisible: params && params.hideTabBar != null ? !params.hideTabBar : true,
swipeEnabled: params && params.hideTabBar != null ? !params.hideTabBar : true,
};
},
tabBarOptions: {
Expand Down
2 changes: 1 addition & 1 deletion screens/ShowScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class ShowScreen extends React.Component {
static navigationOptions = ({ navigation }) => {
const { params = {} } = navigation.state;
return {
title: 'Hn - Show',
title: 'HN - Show',
headerRight: (
<ModalDropdown
style={styles.dropdown}
Expand Down
3 changes: 0 additions & 3 deletions screens/StoryScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ export default class StoryScreen extends React.Component {
const { params = {} } = navigation.state;
return {
title: 'HN - Story ',
headerStyle: {
backgroundColor: '#ff6600',
},
headerRight: (
<ModalDropdown
style={styles.dropdown}
Expand Down

0 comments on commit e7a9c20

Please sign in to comment.