diff --git a/src/screens/Services/ServicesSectionScreen.js b/src/screens/Services/ServicesSectionScreen.js index 5e85534..a88dd2f 100644 --- a/src/screens/Services/ServicesSectionScreen.js +++ b/src/screens/Services/ServicesSectionScreen.js @@ -36,6 +36,9 @@ class ServicesSectionScreen extends React.Component { this.finalDataset = this.props.route.params.data; // reset params to prevent infinite loop this.props.navigation.dispatch(CommonActions.setParams({data: null})); + this.props.navigation.setOptions({ + headerTitle: this.finalDataset.title, + }); } } }