Fix crash on planex group screen open

This commit is contained in:
Arnaud Vergnet 2020-08-06 14:01:28 +02:00
parent ee9e225dae
commit 98770611ff

View file

@ -97,7 +97,7 @@ class GroupSelectionScreen extends React.Component<PropsType, StateType> {
* Creates the header content * Creates the header content
*/ */
componentDidMount() { componentDidMount() {
const [navigation] = this.props; const {navigation} = this.props;
navigation.setOptions({ navigation.setOptions({
headerTitle: this.getSearchBar, headerTitle: this.getSearchBar,
headerBackTitleVisible: false, headerBackTitleVisible: false,