forked from vergnet/application-amicale
Added services section title to match current section
This commit is contained in:
parent
49fa8a82e3
commit
3f945fca7a
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ class ServicesSectionScreen extends React.Component<Props> {
|
||||||
this.finalDataset = this.props.route.params.data;
|
this.finalDataset = this.props.route.params.data;
|
||||||
// reset params to prevent infinite loop
|
// reset params to prevent infinite loop
|
||||||
this.props.navigation.dispatch(CommonActions.setParams({data: null}));
|
this.props.navigation.dispatch(CommonActions.setParams({data: null}));
|
||||||
|
this.props.navigation.setOptions({
|
||||||
|
headerTitle: this.finalDataset.title,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue