Commit a41a8431 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Merge branch '23-view-calendar-new-section' into 'master'

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

Closes #23

See merge request !52
parents 21a1d292 97e65a6f
......@@ -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