Commit 97e65a6f authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

'View entire calendar' now no longer shows a back button in the calendar

parent 9fa624a8
......@@ -49,7 +49,7 @@ const eventListToSections = (eventList) => {
const Footer = props => (
<TouchableOpacity
onPress={() => props.navigate('eventList')}
onPress={() => props.navigate('eventList', true)}
style={styles.footer}
>
<Text style={styles.footerText}>BEKIJK DE GEHELE AGENDA</Text>
......@@ -61,7 +61,7 @@ Footer.propTypes = {
};
const mapDispatchToPropsFooter = dispatch => ({
navigate: scene => dispatch(navigate(scene)),
navigate: (scene, newSection) => dispatch(navigate(scene, newSection)),
});
const FooterComponent = connect(() => ({}), mapDispatchToPropsFooter)(Footer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment